logo

New Response

« Return to the main article

You are replying to:

    • avatar
    • Tony
    • Posted on Fri 25 Jun 2010

    Brilliant. Thank you. This was just what I needed.

    Used with a css media="print" which just removes elements not required and sets up the body. I can now apply page breaks where appropriate.

    /* get rid of background color and set font */

    font-family: Times New Roman, serif; font-size: 12px; line-height:1.3;

    padding:0; margin:0;

    background-color: #fff;

    color:#000;}

    /* Get rid of navigation and left column */

    #leftcolumn {display:none; }

    .navigation {display:none; }

    /* Move the content column back to the left */

    #contentcolumn {margin-left: 0;}

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: