Previous Message
Next Message

RE: [css-d] CSS Rollovers - problem identified and fixed!

Sent by Andy Baker on 14 June 2002 06:06


http://www.andybak.net/example.html

To clarify the issue turns out to involve images in an <a> tag rendering
in Mozilla differently to IE and NN4.

Whilst following the links provided by people commenting on the MIME
type issue with CSS and Mozilla I noticed some other references as to
what Mozilla changed in quirks mode as opposed to strict mode.

I set the page to trigger rendering in quirks mode by removing the
DOCTYPE and as well as fixing the MIME type issue my nav images suddenly
rendered the way I expected and the way IE renders them.

I traced the issue to this Mozilla bug report
http://bugzilla.mozilla.org/show_bug.cgi?id=5821 which suggested that
setting the affected images to be 'vertical-align: bottom;' which fixes
the issue in strict mode also...

Thanks for everyones help and I hope this is of some use to others.
Previous Message
Next Message

Message thread: