I suspect that I’m suffering from divitis, but im not sure.
i think this because i seem to overuse div’s and id’s on div’s
I try to keep all the content that i can within its meaningful semantic markup, but I don’t seem to utilize anything beyond
h1, h2, h3, h4, h5, h6,
p, em, strong
dl, dt, dd, ul, ol, li
i never ever seem to have the need for blockquote or address (with the exception of the contact page)
but even then that is far too little markup to create the css layouts that i want, and thus i overpopulate the whole thing in the ever popular content div, the header div, the footer, div, the <div id=“body”> div (I know i can use the body tag for this, but IE5 screws up in this case)
so after reading countless tutorials on markup, curing divitis, and even read the full sitepoint html reference, but nothing changed with my markup, its still full of div’s
and i still don’t know what tag is meant for plain text that is not a paragraph or a list or a heading.
and when i try to get rid of it, i endup turning everything into lists, and i look like im suffering from listitis
how do you find out if someone has divitis? and how to cure it?
<div id="body">
<div id="header">
<h3>A COMPANY</h3>
<span>Presents</span>
<h1>EXCLUSIVE</h1>
<h2>stuff</h2>
</div>
<ul id="feature">
<li><a href="#"><img src="images/top-thumb1.jpg" /><span>link1</span></a></li>
<li><a href="#"><img src="images/top-thumb2.jpg" /><span>link2</span></a></li>
<li><a href="#"><img src="images/top-thumb3.jpg" /><span>link3</span></a></li>
<li><a href="#"><img src="images/top-thumb4.jpg" /><span>link4</span></a></li>
<li><a href="#"><img src="images/top-thumb5.jpg" /><span>link5</span></a></li>
</ul>
<div id="content">
<h1 class="exclusive">EXCLUSIVE</h1>
<p>
Text text text
</p>
<p>
Text text text
</p>
<p>
Text text text
</p>
<p>
Text text text
</p>
<p>
Text text text
</p>
<h2 class="exclusive"><span>M</span>ORE <span>F</span>ANCY <span>T</span>EXT <span>W</span>ITH <span>E</span>NLARGED <span>F</span>IRST <span>L</span>ETTERS</h2>
<a href="#" class="banner"><img src="images/image10.jpg" height="92" width="810" alt="some text" /></a>
</div>
</div>
<ul id="footer">
<li>stuff</li><li>stuff2</li>
</ul>
above is my attempt at avoiding divitis
the body is centered, the footer is separate from the body