Gunlaug Sørtun wrote:
> It's the browser-default for images - block vs. inline.
> Browsers have 'display: block' as default for that doctype
> (Transitional), except IE/win which have 'display: inline' as default -
> regardless of doctype.
While your solution is sound (and appropriate), I'm curious as to where
you get the impression that browsers use "display: block;" for <img />
elements under any doctype--even when there isn't one. This has never
been my experience, and I don't believe it's the case in the
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/