random1 Posted November 27, 2008 Share Posted November 27, 2008 Hey All, I'm trying to get my site's single CSS stylesheet to format to different medias (be printable). I have some code: @media print { BODY { font-size: 10pt } } @media screen { BODY { font-size: 12pt } } @media screen, print { BODY { line-height: 1.2 } } from: http://www.w3.org/TR/CSS2/media.html Is it possible to simply include an external stylesheet and have different medias? Quote Link to comment Share on other sites More sharing options...
dropfaith Posted November 27, 2008 Share Posted November 27, 2008 i use this kind as stated on the link you gave main.css is like so @import url("print.css") print; @import url("screen.css") screen; @import url("handheld.css") handheld; [code] i also include anyu styles that are on all shees here on the main.css Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.