Yikes! Just tried your suggestion, but then I would have to style every element in my print.css file. I think I'll just stick with the !important where I need it.
Angela French Internet Specialist State Board for Community & Technical Colleges 360-704-4316 http://www.checkoutacollege.com http://www.sbctc.ctc.edu -----Original Message----- From: Benjamin Hawkes-Lewis [mailto:bhawkesle...@googlemail.com] Sent: Wednesday, December 31, 2008 10:01 AM To: Angela French Cc: 'css-d@lists.css-discuss.org' Subject: Re: [css-d] !important declaration on print.css On 31/12/08 17:50, Angela French wrote: > I am creating a print style sheet (media="print"). Most of the declarations > in the style sheet are requiring !important in order to take effect. > My print.css style sheet is the last to be loaded by the browser (last in the > list of linked style sheets). Can anyone tell me why it is necessary for me > to add the !important declaration in order for the style to take effect? It sounds like you have targeted the earlier stylesheets at all media types. Try setting them to media="screen". -- Benjamin Hawkes-Lewis ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/