Mon, 2004-09-06 09:50
I use a few empty DIVs for positioning images on screen, and I've noticed oddities:-
If I use:
<div id="content" />
<div id="content"> </div>
Firefox and IE6 seem to struggle to agree on how it should look. Has anyone else noticed this?
Mon, 2004-09-06 17:14#1
Strange DIV quirk
Well for a start the first example isn't how you close a div the /> is just for old tags that were left open such as <img> <br> <meta> which in xhtml you would be required to close with the /> so it probably would cause a conflict of some description but can't say I've ever tried it!