Jump to content

Recommended Posts

No, the print he showed me just makes the print screen come up. It activates the printer on there browser to start up the printer, it does nothing to style the page for printing.  If you want a page that prints right, you need to create a CSS file.  Attach it to the document using the media type "print" it makes it become ignored UNLESS the browser is in print view, and is printing the document.  The point of this is to remove things you don't want part of the printing (hiding certain things).  Or making it look good for black/white only printers by removing clashing colors.  As well as removing unnecessary components that will jsut clutter the printer (navigation, header, footer, whatever else might be obtrusive to simply printing the data).

 

Right, the original css file is the original styling.  It is always active.  However when in print mode the print one takes over.  It does not erase the first, but the idea is behidn the "cascading".  It basically overwrites (it takes priority) over any styles in the first one when in print mode.  So you need to always have the print one BELOW any others.  That way it can overwrite anything in the other files, and it makes sure it takes priority.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.