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;},