bryndyment
01-29-2004, 07:56 PM
Here's an HTML/CSS issue I'm struggling with: I pretty much use <div> and <span> solely for style purposes. I may have some DIVs and SPANs in my markup, prior to worrying about style. By the time I've implemented my style, though, I have added many additional DIV and SPAN elements. They're there solely for the design.
For example, this design has five nested DIVs:http://muledesign.hoologic.com/hmm.html
Or, let's say you want to display a word, and have the font size of each successive letter to increase by one. You'd have a ton of nested SPANs that have nothing to do with the content.
Is this just the way things work? Do purists never add additional DIV or SPAN tags beyond what is needed to properly define the document's content?
For example, this design has five nested DIVs:http://muledesign.hoologic.com/hmm.html
Or, let's say you want to display a word, and have the font size of each successive letter to increase by one. You'd have a ton of nested SPANs that have nothing to do with the content.
Is this just the way things work? Do purists never add additional DIV or SPAN tags beyond what is needed to properly define the document's content?