Hey all,

SETUP:
I've got a question about specializing style sheets for a given media
type (without using css2 @media). For all the sites that I create I
write out a file for the "screen" media type, named "screen.css". Once
I have all of those style in place, I will duplicate that file in it's
entirety and rename it "print.css", and and link it using the media
type "print". I would modify this file as needed. This creates a lot
of duplication and file size overhead, and harder to update if in two
places.

I was thinking that I should try a new approach. Write out the first
file and name it "basic.css" and have the media type set to "all".
Then, link a new file named "print.css" with media type set to
"print". This file would use cascading so that it only modified the
styles that needed to be modified for the print version, and the reset
would be taken from the "basic.css" file.


QUESTION:
Are there any draw backs to this approach? Any browsers that this
would not be supported in? Any better methods to employ?
Suggestions/best practices that might help?


THANKS AND PRAISE
to anyone that can help me out.

-Justin
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to