Jukka K. Korpela wrote:
Germán Martínez wrote:
I guess that
* { background-image: none;}
Will work.
Other things being equal, it will lose to any rule that uses a specific
element name as selector. So it mostly won't work.
The question used the !important specifier, which gives much better odds:
body
{
background-image:none !important;
background-color:white !important;
background:transparent;
}
But that rule only affects settings on the body element. So
body, td, div, p, * { background-image: none !important;}
would be a practical solution that works in most cases. But of course it
can be overrun by other CSS settings, if they use !important _and_ more
specific selectors. There is no general way to remove all background
images, so the practical question is how to analyze the style sheets
that are or might be applied, and then you just need to use more
specific selectors than they do (and !important).
Hmmm, maybe you could analyze the stylesheet(s), pull into one style
sheet every point where a background image is set, and style the same
tags/etc like where they came from, only without the background image?
If you make that into a print stylesheet?
--
David
[email protected]
authenticity, honesty, community
______________________________________________________________________
css-discuss [[email protected]]
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/