Posted By

savintsev on 05/19/09


Tagged

css ie Opera Firefox css-hacks


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

jfherring
defvibes
tutrinh211
robksawyer


CSS-hacks (IE, FireFox, Opera)


 / Published in: CSS
 

  1. /* for all (IE, FireFox, Opera)*/
  2. .some_class{
  3. width:50%;
  4. background:#FFFCD8;
  5. }
  6. /* FireFox & Opera only */
  7. html>body .some_class{
  8. width:100%;
  9. }
  10. /* FireFox only */
  11. head:first-child+body .some_class{
  12. width:50%;
  13. }

Report this snippet  

You need to login to post a comment.