Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm printing a page of my PHP application with the ( ctrl + P ) (default printing). How can i make sure that the CSS (tables, padding, cellspacing, background picture with opacity) are printed along with the sheet. I'm calling the CSS from another file.

Thanks for your help and time.

share|improve this question
up vote 1 down vote accepted

The web-browser should normally apply the CSS settings when printing. It shouldn't matter that the CSS is in a separate file rather than inline.

CSS allows for different styling for printing (or other media) - so some pages are deliberately made to print differently (e.g. omitting menus and breadcrumb trails etc).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.