css for printabily pages

2 replies
hi bros i want a css for print pages ?
#css #pages #printabily
  • Profile picture of the author WebVyz
    Not sure what you're looking for, exactly. Does this help: CSS Reference
    {{ DiscussionBoard.errors[7129896].message }}
  • Profile picture of the author lordspace
    you need this in your existing css file
    Code:
    @media print {   /* style sheet for print goes here */ }
    or this
    Code:
    <LINK REL="stylesheet" TYPE="text/css"       MEDIA="print" HREF="print.css" />
    What I did in my projects was to hide lots of elements that don't need to appear in the printed version e.g. social networking buttons, contact forms etc.

    How to test it ?

    I used CutePDF and make the browser print the page into the virtual printer that CutePDF creates. Of course there could be a better way for sure.
    Signature

    Are you using WordPress? Have you tried qSandbox yet?

    {{ DiscussionBoard.errors[7138732].message }}

Trending Topics