Why do my CSS cause my navigation to wobble?

They have: 8 posts

Joined: Jan 2006

Hi

On Mouseover in Internet Explorer the navigation on my site has a vertical wobble? Confused
Any idea why please and how do I fix?
Thanks

http://www.internettreehouse.co.uk/newtest.htm

demonhale's picture

He has: 3,278 posts

Joined: May 2005

Look at this CSS on your site, add the bold lines

#navmenu li a {
font-weight: bold;
height: 20px;
text-decoration: none;
color: #0B1742;/*Nav Text*/
display: block;
padding: 6px 0 0 10px;
background: #E3E8EE;/*Nav.Text Background*/
border-left: 4px solid #99ADC2;/*Nav.Left Box*/
margin-bottom: 4px;
}

#navmenu li a:hover {
background: #A0B3C6;/*Nav.Text Background Hover*/
color: #0B1742;/*Nav Text*/
border-left: 4px solid #0B1742;/*Nav.Left Box Hover*/
margin-bottom: 4px;
}

They have: 8 posts

Joined: Jan 2006

Demonhale
I'm in your debt, many thanks.Smiling

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.