Home › Forums › CSS › Strict / Transitional DOCTYPES › Re: Strict / Transitional DOCTYPES
April 25, 2008 at 1:48 pm
#47121
jhallmusic
Member
So I found out, in case anyone else runs across this problem, is that in standards-compliance mode, images are set to display as inline by default, which leaves a space underneath the image (the baseline underneath inline elements). Adding a img{display:block;} to your css will stop this from happening. Took me awhile to figure it out, and maybe it’s a no-brainer, but wanted to post my findings.