PDA

View Full Version : Firefox CSS Problem?



theMike
03-15-2005, 07:03 PM
Please help. IE renders correctly, but since I inserted a CSS menu into my site (http://www.bmgwebdesign.com) Firefox makes both the google ads and amazon text ads look like they're jumping up and down during page load and menu mouseover.

Any advice is appreciated.

mcdougals4all
03-15-2005, 07:48 PM
That's a strange effect. But I think it's being caused by the border rules below. In the first set of rules, you've got border-bottom:2px; and in the second it's border-bottom:1px;. Changing them both to 2px seems to kill the effect of the ad jumping.



#navlist a:link, #navlist a:visited
{
float: left;
line-height: 15px;
font-weight: bold;
margin: 0 5px 4px 2px;
border-top: 1px solid #EEE;
border-left: 2px solid #EEE;
border-bottom: 2px solid #999;
border-right: 2px solid #999;
text-decoration: none;
color: #999;
}

#navlist a:link#current, #navlist a:visited#current, #navlist a:hover
{
float: left;
line-height: 15px;
margin: 0 5px 4px 2px;
border-top: 1px solid #999;
border-left: 2px solid #999;
border-bottom: 1px solid #EEE;
border-right: 2px solid #EEE;
background: transparent;
color: #EEE;
}

theMike
03-15-2005, 07:56 PM
Thanks. That seems to have correct the menu mouseover jumping, but I'm still jumping on page load. Any ideas are, again, appreciated.