Posted By

Uzbekjon on 07/07/08


Tagged

css hack ie


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

SpinZ


Hide CSS rules from IE-Mac, show to only IE-Win


 / Published in: CSS
 

URL: http://www.positioniseverything.net/explorer/threepxtest.html

Change #floatbox and p selectors to anything you want...

  1. /* Hide from IE5-mac. Only IE-win sees this. \*/
  2.  
  3. * html #floatbox {
  4. margin-right: 10px;
  5. }
  6.  
  7. * html p {
  8. height: 1%;
  9. margin-left: 0;
  10. }
  11.  
  12. /* End hide from IE5/mac */

Report this snippet  

You need to login to post a comment.