|
Posted by frederick on 04/15/06 18:25
Thomas Jollans wrote:
> I have been playing around with CSS rollover effects.
> http://zombiehq.xyzplanet.net/jb.html works perfectly in konqueror 3.5.1
> (KHTML): when hovering over the "meny item", two sub-menus pop up below
> with some nice highlighting. this however doesn't seam to work in Firefox
> 1.5.0.1 (Gecko/20060203) (only the highlight shows).
> Can anyone give me pointers as to why ? I tried replacing div.menuitem with
> <a>, without success.
You're lacking a DTD, so Firefox is kicking into quirks mode. Fix that
and you get what is presumably your intended effect; well, at least
until you then go on to test it in IE...
If you'd run the page through a validator you'd have found a few other
things that need fixing, too.
Cheers,
AGW.
[Back to original message]
|