zindex problem with firefox

liunx

Guest
Hi, this is my first time posting here - just keep in mind I'm just using CSS for the first time.

If you take a look at my site, <!-- m --><a class="postlink" href="http://www.stevewillard.com">http://www.stevewillard.com</a><!-- m -->, you can see that there are two flash things up top, (one on each bar.)

It looks fine in IE, but in firefox the flash on the second bar covers the top navigation flash.

Here's the code:

#featureflash{
position:absolute;
top:8px;
left:15px;
width:579px;
height:150px;
z-index:1
}

#nav {
position:absolute;
top:-3px;
left:48px;
z-index:2
}First off, put a valid doctype in there or you'll never get it right in most browsers.You also need to put a semi-colon after the z-index property.Ok I added the semicolons and the doctype. Still have the same problem with it in Firefox though.Interesting. I still don't see the doctype.Look harder :)It works in Firefox now - I changed around the code for the flash animations, you can check it out in the source.
 
Top