print fix for IE6

Discussion in 'HTML & Website Design' started by login, Oct 16, 2007.

  1. #1
    Hi, for one of my sites IE7 and Firefox prints pages good, but in IE6 the printed pages is to wide for the paper so that some of the text is missing on the paper, the font is also different. How can I fix this ? Can I fix it in the css file?
     
    login, Oct 16, 2007 IP
  2. Geckonm

    Geckonm Guest

    Messages:
    15
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can add a new CSS file just for print if you like, using the syntax

    <link rel="stylesheet" type="text/css" href="css/yourstyle.css" media="print" />

    You can then get rid of all the crap that is causing your page to print wrongly. Apart from that, without seeing your site I can only imagine that the width could be reduced if you dont want a print stylesheet.
     
    Geckonm, Oct 16, 2007 IP
  3. le_gber

    le_gber Peon

    Messages:
    28
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    for your print stylesheet use %ages for widths, not px and it should work fine.
     
    le_gber, Oct 16, 2007 IP