
Originally Posted by
cssExp
Thanks guys!
However, I have a new doubt now. Should I link main stylesheet as media="screen" and print style as media="print"? But I want other devices to use the main style too. When I link the main style as media="all", most of the things are not following print styles e.g.
Well you could just list all the media with comma separated values that you want. However, I usually just prefer to cancel things out with the print stylesheet otherwise you have to re-style it again.
opera doesn't remove background image even though background was set to none etc..
It only does this for the body element because the image is propagated to html so you need to set a background color on the html element.
e.g.
Code:
html,body{background:#fff}
Also rather saying background:none for the elements just set it to white
background:#fff;color:#000;
That will clear images at the same time and make sure the background is white.
Bookmarks