Reputation: 11393
I made a page contains specific control, and i used CSS and it works okay and applied on the page, but when i print the control which contains my data , no effect to the CSS on the paper . what is the problem ? the control exists in div.
Upvotes: 0
Views: 1063
Reputation: 66399
Background colors and images won't be printed by default by most browsers.
IE reference: http://support.microsoft.com/kb/296326
Firefox reference: How do I Make Firefox Print a Background-Color Style?
Easy enough to find for any other browser if you want.
Upvotes: 2
Reputation: 1274
Check this interesting read at A List Apart: http://www.alistapart.com/articles/goingtoprint/
It is a comprehensive guide at using print style sheets.
Upvotes: 1
Reputation: 7083
have you used @media
inside the css source or the media-attribute eg media="screen"
inside the html source code? that might be the reason.
Upvotes: 2