Subscribe to blog updates via email »

Eliminating Extraneous DIV Tags II

June 05 2004 – 04:20pm

After further consideration, I have noticed that there is a possible issue with “element nesting” as I have described it below. Luke Redpath proposes still including all of the DIV tags in your markup. In my proposed use, there is no indication in the markup of any “wrap1,” “wrap2,” elements. So it seems that in trying to take presentation out of the markup, perhaps I have inserted markup into the presentation, meaning that the presence of the “wrap1” etc. elements derive from them being indicated in the stylesheet. This is something I’m sure the W3C could figure out. It wouldn’t work right out of the box as I’ve proposed it, but you get the idea.

Thinking of
writing a book?

How to Write a Book cover
Download your FREE copy of How to Write a Book »

(for a limited time)

This post is filed under Technology.