Firefox navigation issue. fine in IE and Chrome, random scrollbars
I have no idea why, 开发者_StackOverflow社区but for some reason the top navigation at http://www.wilwaldon.com/crossing/badnav.html creates scroll bars in Firefox 3.6 when you click one of the links. It works fine in IE and Chrome. I've tried everything and can't find a solution for this.
Any help would be greatly appreciated.
Thank you in advance.
it looks like firefox is putting an outline around the image as you click it and this 1px border is then pushing your layout down.
Try the following line in your css #navigation2 {overflow:none;}
You might need #navigation2 a:active {outline:none;}, #navigation2 a:visited {outline:none;} just to be on the safe side
Try setting outline:0
for the links.
Try to set overflow:none;
at #navigation2
CSS block
精彩评论