Posted By

toddaeverett on 01/07/10


Tagged


Versions (?)

Targeting different browsers


 / Published in: CSS
 

Methods to target different browsers in CSS.

  1. /* working as of Jan 7, 2010 */
  2. @-moz-document url-prefix() {table.week {margin:0 0 10px 0;}} /* target just firefox */
  3. table.week {height:50px;*height:30px;} /* *height targeted @ IE */
  4. @media screen and (-webkit-min-device-pixel-ratio:0){table.week {height:30px;}} /* target safari and gchrome */

Report this snippet  

You need to login to post a comment.