3 ms·
>I didn't say that it's hard to read. I said that by the standards community's definition it is not good HTML, because it mixes content and presentation. I mea
by iroboto 18y ago
>I didn't say that it's hard to read. I said that by the standards community's definition it is not good HTML, because it mixes content and presentation.
I meant this by reading
http://www.csszengarden.com/zengarden-sample.html http://www.csszengarden.com/zengarden-sample.html
not reading the html markup, but what the markup gets converted to when there is no css involved. Even the earliest of mobile devices can read this web page because the information still makes sense just reading it from top to bottom.
If CSS Zen Garden was truly mixing presentation with content, you wouldn't be able to read that link above as easily as you can.
- chairface 18y ago> I meant this by reading http://www.csszengarden.com/zengarden-sample.html http://www.csszengarden.com/zengarden-sample.html not reading the html markup But you started that part of you message with > The HTML won't make any sense if you start reversing it ? > If CSS Zen Garden was truly mixing presentation with content, you wouldn't be able to read that link above as easily as you can. I'm sorry, but using wrapper divs for purely presentational purposes is mixing presentation and content. The whole concept has to do with how the code is written.
- iroboto 18y ago>But you started that part of you message with > The HTML won't make any sense if you start reversing it >? I thought what I written was clear, but I guess it's coming off as vague. When you view an html page without presentation the logical flow of all the information should be based on the content. Therefore the tags and what is written you would never reverse the order, because the content will no longer make sense right? So when you're doing something like div #header div #col left div #col middle div #col right div #footer You've grouped content in the form of header, left, middle right, footer. You can't reverse it, it's stuck because of the way it's been written. Every site redesign will require an HTML redesign each and every time. If you grouped your content in the form of (like csszengarden has done) Introduction About the site Site Navigation Sub Menu Content Corporate Info Then ONLY the CSS needs to change. Which is why there are 300+ different and dramatic css layouts on csszengarden, and yet only 1 html. If presentation was truly mixed in there, something would have locked them all into looking a certain way - but as you can see, all the designs are different.