Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- Separation of Style, Structure & Content


Receptional_Andy - 11:41 am on Aug 15, 2008 (gmt 0)


csuguy - I believe what you are referring to as 'structure' most other people would call 'layout'. As applied to HTML, structure usually refers to the use of semantically meaningful elements like headings, paragraphs, lists and the like. Part of the goal of CSS is to leave HTML structure to HTML, and confine the bulk of control of visual appearance (i.e. including layout) to CSS.

You could always use a separate style and structure CSS file, but personally I would find that adding an extra layer of complication, rather than ease of use, except for the most complicated of CSS-based designs.

It's the same reason that an ID of "footer" is much better than an ID of "bottom" - you are likely to want to change the layout without changing the underlying HTML structure.


Thread source:: http://www.webmasterworld.com/css/3721842.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com