Chrome vs Safari - CSS the mystery pixel

Posted by Aji on Stack Overflow See other posts from Stack Overflow or by Aji
Published on 2012-10-01T21:35:37Z Indexed on 2012/10/01 21:37 UTC
Read the original article Hit count: 205

Filed under:
|
|

I have an issue of the mysterious pixel in CSS.

Site in question: http://www.lymphcareri.com/about/

The idea is that under the menu is a line, which gets highlighted upon hover and blends in with the line under the header. However, Safari and Chrome both interpret the CSS different in such a way, that I cannot get those lines to line up in both browsers (no pun intended).

It is either on the mark, or off. Chrome shaves off one pixel on the bottom margin of the nav link, making the line appear just above.

Any idea why that is?

© Stack Overflow or respective owner

Related posts about css

Related posts about google-chrome