38 users online (0 members and 38 guests)  

Thread: printing


  Results 1 to 6 of 6

Related

  1. Css Printing Problem    Forum: CSS Forum
    Replies: 2
  2. Page Printing    Forum: HTML Forum
    Replies: 3
  3. Printing    Forum: HTML Forum
    Replies: 0
  4. Printing with CSS    Forum: CSS Forum
    Replies: 3
  1. #1
    Ardaraith's Avatar
    New User

    Status
    Offline
    Join Date
    May 2003
    Posts
    2

    printing

    Hello,

    I really dont' know THAT much about CSS, but I am trying. I created a website for a group and used CSS. When I try to print pages they come out with one word per line of text...

    http://www.TraciLaird.com/camp/theme.html

    Any suggestions? and remember, I'm just a baby here.

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Hi Ardaraith. Welcome to the forums.

    (looking a your site was nice, I am off to Wales this weekend)

    The problem with printing is that you have default margins in your page setup. These can interfere with your layout.

    The large line-height may be the problem. The large font maybe the problem. I would recommend shrinking both, one-at-a-time until you find the problem.

    Another thing to watch out for, if you specify a font and its name has a space in it, surround it ith ' symbols. like

    Code:
    font-family:palatino, 'zapf chancery';
    Might help.

    Oh, paper saving hint. use the 'print preview' in your browser when troubleshooting, it saves a lot of ink!

    And dont worry, we are all babies at something :)
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  3. #3
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Oh, i forgot my whole point.

    Its possible to define a different stylesheet for printing. So if you have to change stuff, put it in the laternative stylesheet -

    Code:
    <style type="text/css" media="print">
    body {
    font: 45%;
    }
    </style>
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  4. #4
    Ardaraith's Avatar
    New User

    Status
    Offline
    Join Date
    May 2003
    Posts
    2

    placement

    does that bit go inside the main style tag?

  5. #5
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    No. Its separate. You can have it in an external sheet, too.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  6. #6
    Doorknob's Avatar
    Super Newbie

    Status
    Offline
    Join Date
    Jun 2002
    Location
    Malaysia
    Posts
    316
    Originally posted by QuietDean
    Code:
    <style type="text/css" media="print">
    body {
    font: 45%;
    }
    </style>
    [/B]
    what does it do?



Tags for this Thread