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?
Without the link to the page, I can only offer little advice.
Make sure the link to the stylesheet
in the header is correct. And it should look something like this:
<link rel="stylesheet" type="text/css" href="/link/to/.css" media="all">
I just noticed that you mentioned
print. Theallmedia type will work across web and print. However, if you wanted to explicitly state another stylesheet forprintthan replace theallwithprint.being overridden by something else. As CSS is Cascading Style Sheets