Posted By

neal_grosskopf on 03/25/08


Tagged

css media


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

neal_grosskopf
Akiva


Media Targeting With CSS Using @Media


 / Published in: CSS
 

URL: http://www.nealgrosskopf.com/tech/thread.asp?pid=8

Consolidate all your various stylesheets into one and cut down on requests to your server by placing your screen, print & handheld stylesheets into one stylesheet

  1. @media print {
  2.  
  3. .class
  4. {
  5. }
  6.  
  7. }
  8.  
  9. @media handheld {
  10.  
  11. .class
  12. {
  13. }
  14.  
  15. }
  16.  
  17. @media aural {
  18.  
  19. .class
  20. {
  21. }
  22.  
  23. }

Report this snippet  

You need to login to post a comment.