February 25th, 2004, 02:08 AM
Clearing CSS Values
I'm pretty sure there isn't a way to do this, but i am curious..
I know that i could answer the first question if i had a printer that wasn't out of ink .. but here goes.
First: Are CSS attributes that are assigned to the media Screen inherently assigned to Print even if you point the Print media a different stylesheet?
Second: Is there a way to clear a stylesheet values? basically making the stylesheet null or empty?
February 25th, 2004, 02:07 PM
You would normally create a stylesheet with media="all" that contains styles for all media types. You can then use media="print" or media="screen" to specify media-specific styles. I usually just use one stylesheet and then use overwrite styles with a media="print" section.
Not sure about resetting styles to the default stylesheet ... I've never run into the need for this.
Explain your problem instead of asking how to do what you decided was the solution.