Hey all-
My goal is to use the XHTML 1.0 Strict DOCTYPE for this page I'm working on, but I'm running into some weird design issues..
I have the below code:
<div><img src="photos/someimage.jpg" alt="Title" /></div>
When I load the page with DOCTYPE set to 1.0 Strict, a little gap of spacing is added below the image, within the div. I've removed all whitespace/line breaks in the code, which seems to be the usual culprit for this sort of issue.. If I change the DOCTYPE to 1.0 Transitional the spacing is gone and the page looks as it should.
Anyone know of a way to avoid this issue while still using 1.0 Strict?
Thanks for your time!