Posted By

elightbo on 06/27/08


Tagged

css browser target


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

SpinZ
Wiederkehr
Ashung
asturi


Target firefox & safari with CSS


 / Published in: CSS
 

  1. /* Target Firefox - http://www.bram.us/2007/05/31/my-note-to-myself-dissapearing-firefox-caret-cursor-css-fix/ */
  2. @-moz-document url-prefix(){ #hackery { height: 45px !important; } }
  3.  
  4. /* Safari Hack - http://dustinbrewer.com/css-hackgetting-safari-to-behave/ */
  5. @media screen and (-webkit-min-device-pixel-ratio:0) { #hackery { height: 35px !important; } }

Report this snippet  

You need to login to post a comment.