Home > DeveloperSection > Interviews > what is media in css? Give the any example of them.

Posted on    May-02-2013 9:01 AM

 CSS-CSS3 CSS-CSS3 
Ratings:
 1 Answer(s)
  1079  View(s)
Rate this:

AVADHESH PATEL

Total Post:257

Points:1285
Posted on    May-02-2013 12:00 AM

Some CSS properties are only designed for a certain media. For example the "voice-family" property is designed for aural user agents. Some other properties can be used for different media types. For example, the "font-size" property can be used for both screen and print media, but perhaps with different values. A document usually needs a larger font-size on a screen than on paper, and sans-serif fonts are easier to read on the screen, while serif fonts are easier to read on paper.

example of print media

http://www.mindstick.com/Articles/83e5fed0-9db4-4b35-b34b-cca8de153655/?Print%20and%20Print%20Preview%20separately%20using%20HTML,%20CSS%20and%20JavaScript

http://www.mindstick.com/Articles/2bd47a5b-40ea-4ac1-b10e-d17dd2b00865/?CSS%20Printing

Don't want to miss updates? Please click the below button!

Follow MindStick