开发者

Firefox navigation issue. fine in IE and Chrome, random scrollbars

开发者 https://www.devze.com 2022-12-22 13:36 出处:网络
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.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号