hey, nils.

the online world of nils rasmusson

Chrome and Safari Specific Browser Hack for CSS

| 0 comments

Just learned about this one. This allows you to make changes only to Chrome and Safari which both tend to render the same but often slightly differently than Firefox and IE.
@media screen and (-webkit-min-device-pixel-ratio:0) { /* hacked for chrome and safari */
#mainNav li { margin:0 26px 0 0; }
}

Author: Nils

I'm Nils - a 33 year old pale skin from Utah. I'm into geeky gadgetry, photography, web design and graphics. I'm a Photoshop fanatic, I love simple and clean design and I realize I have a long way to go.

Leave a Reply

Required fields are marked *.

*