Alex Rivera | Logout

Printing html ignores CSS stylesheets

Asked 2010-10-18T09:40:35.673
14

I have a very simple html page with a table element.

The document is styled with css. When I print the page it looks like there are no stylesheets at all. Wrong font, everything is wrong.

What's the problem here? Do I have to create a special css only for printing? In my case it would be the same.. Is that really necessary?

Edit
Report

1 Answer

1

The media attribute is used to determine the stylesheet purpose. You need to make sure that it is set to all (for all purposes) or print (only used when printing).

answered 2010-10-18T09:45:51.433

Your Answer