Page 1 of 1

Box Model Versus CMSMS Content Blocks

Posted: Fri Oct 10, 2014 6:06 pm
by KitchM
Is there any relationship between the box model and CMSMS content blocks?

Re: Box Model Versus CMSMS Content Blocks

Posted: Fri Oct 10, 2014 6:22 pm
by Dr.CSS
Short answer, No...

But then again it depends on your definition of box model...

Re: Box Model Versus CMSMS Content Blocks

Posted: Fri Oct 10, 2014 11:11 pm
by KitchM
My definition is whatever the standard says, and that is found here:
http://www.w3.org/TR/CSS21/box.html

Re: Box Model Versus CMSMS Content Blocks

Posted: Fri Oct 10, 2014 11:18 pm
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.

Re: Box Model Versus CMSMS Content Blocks

Posted: Fri Oct 10, 2014 11:27 pm
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?

Re: Box Model Versus CMSMS Content Blocks

Posted: Sat Oct 11, 2014 5:59 pm
by JohnnyB
yup, right :)

Re: Box Model Versus CMSMS Content Blocks

Posted: Sun Oct 12, 2014 4:06 pm
by KitchM
Thanks much.