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

I have no idea why, but for some reason the top navigation at http://www.wilwaldon.com/crossing/badnav.html creates scrollbars in Firefox 3.6 when you click one of the links. It works fine in IE and Chrome. I tried everything and can not find a solution for this.

Any help would be greatly appreciated.

Thanks in advance.

+3
source share
3 answers

it looks like Firefox places an outline around the image when you click it, and that 1px border then pops your layout.

Try the following line in css # navigation2 {overflow: none;}

# navigation2 a: active {outline: none;}, # navigation2 a: visited {outline: none;},

+1

outline:0 .

0

Try setting overflow:none;to #navigation2CSS block

0
source

Source: https://habr.com/ru/post/1735612/


All Articles