SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2003
    Location
    England
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    poor print layout in firefox 1.5

    Hello all,


    I'm trying to create a page which will be a summary of information. Currently PDFs are used but i find the way this solution has been implemented quite unpleasant so i've decided to use print stylesheets.

    I've uploaded the page and the stylesheet here:

    http://www.dotcomper.co.uk/thomas/mockUpSummary.html

    http://www.dotcomper.co.uk/thomas/printSummary.css

    So far I have tested the page in:
    Firefox 2.0 on Linux.
    Opera 9 on Linux
    Firefox 1,5 on windows
    Internet Explorer 6

    It displays fine both as a normal page and in print preview mode on the all except for firefox 1.5. Firefox 1.5 shows thye page correctly when viewing the page but when inprint preview it all goes to hell with the 2 distinct columns bleeding in to one another making the text unreadable.

    I've really no idea how to solve this problem.

    I've included a screenshot to show people without access to 1,5 what the problem is.

    The problem: http://www.dotcomper.co.uk/thomas/problem.PNG

    Does anyone have any bright ideas?


    thanks,

  2. #2
    SitePoint Wizard bronze trophy Tyssen's Avatar
    Join Date
    Oct 2005
    Location
    Brisbane, QLD
    Posts
    4,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You don't have a doctype which could be a problem. (Also get the same problem in FF2 on Windows.)

  3. #3
    SitePoint Enthusiast
    Join Date
    Nov 2003
    Location
    England
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thank you very much for your help. I have added a doctype, checked the html is valid (it is) but the problem persists. I've checked myself on 2.0 on windows now ans can see it's exactly like in 1.5. I find it curious in linux it works fine in 2.0 though.

  4. #4
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,522
    Mentioned
    182 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    The problem seems to be caused by the font choice. Change the following and it seems to display OK.

    Code:
    *
    {
    font-family:  serif;
    }

  5. #5
    SitePoint Enthusiast
    Join Date
    Nov 2003
    Location
    England
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    aha! that's it! i wonder why though. I was using that font for the print because i read it was much easier to read in print than a sans-serif font.

    Thank you for your help everyone!

  6. #6
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,522
    Mentioned
    182 Post(s)
    Tagged
    6 Thread(s)
    i wonder why though
    Seems like a bug to me at first glance .


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •