Box Model Versus CMSMS Content Blocks

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
KitchM
Power Poster
Power Poster
Posts: 328
Joined: Mon Dec 02, 2013 3:26 am

Box Model Versus CMSMS Content Blocks

Post by KitchM »

Is there any relationship between the box model and CMSMS content blocks?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Box Model Versus CMSMS Content Blocks

Post by Dr.CSS »

Short answer, No...

But then again it depends on your definition of box model...
KitchM
Power Poster
Power Poster
Posts: 328
Joined: Mon Dec 02, 2013 3:26 am

Re: Box Model Versus CMSMS Content Blocks

Post by KitchM »

My definition is whatever the standard says, and that is found here:
http://www.w3.org/TR/CSS21/box.html
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

Re: Box Model Versus CMSMS Content Blocks

Post by JohnnyB »

The "Box Model" is strictly unique to frontend technologies (aka client side) - CSS in particular.

CMSMS content blocks are server side and specific to the Smarty template system. They do not present frontend markup although, the content entered for a content block may contain frontend markup.

Anyway, 100% not at all related.
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
KitchM
Power Poster
Power Poster
Posts: 328
Joined: Mon Dec 02, 2013 3:26 am

Re: Box Model Versus CMSMS Content Blocks

Post by KitchM »

I think I understand your point.

CSS is what adds the finishing touches to how the web page is presented on the browser canvas. So the "boxes" are as viewed in the browser and as positioned and sized in the browser by the CSS.

Therefore, the parameters of the box model are defined by the CSS and not the content, so the box model does not, and cannot, exist without the CSS definitions of those parameters.

Does that sound about right?
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

Re: Box Model Versus CMSMS Content Blocks

Post by JohnnyB »

yup, right :)
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
KitchM
Power Poster
Power Poster
Posts: 328
Joined: Mon Dec 02, 2013 3:26 am

Re: Box Model Versus CMSMS Content Blocks

Post by KitchM »

Thanks much.
Post Reply

Return to “Layout and Design (CSS & HTML)”