Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorkloche
    • CommentTimeMay 29th 2006 edited
     permalink
    The Tables have turned, I am having printing trouble in Firefox!

    I have finished coding up my page, (in XHTML and CSS of course) and everything looks good. But when I try to apply a stylesheet to ensure that specific look is maintained, Firefox is is recognizing only the first page and refuses to print content beyond what can fit on the first page

    I have event tried to add "page-break-after: always" property but no-change.

    Any advice.

    Thanks
    KP
    •  
      CommentAuthormringlein
    • CommentTimeMay 29th 2006
     permalink
    Got a URL we can see?
    • CommentAuthorkloche
    • CommentTimeMay 29th 2006
     permalink
    Sorry, how we are setup all our sites are placed on test servers which can be viewed only internally before they are officially launched.

    I know this doesn't help my plight
    • CommentAuthoryatil
    • CommentTimeMay 29th 2006
     permalink
    Your main container is probably floated. Floated elements get cut at new pages. This is a known bug since Version 0.8.
    • CommentAuthormrklu
    • CommentTimeMay 30th 2006
     permalink
    yatil is right, just set everything to static if possible, so no absolute, no float, relative might work, but just to be safe switch everything to static
    •  
      CommentAuthornifkin
    • CommentTimeMay 30th 2006
     permalink
    If it's a float-related whole-page container thing I'd guess it's part of a screen layout that it's needed for. Can you just make another print stylesheet that doesn't float things?
    • CommentAuthormrklu
    • CommentTimeMay 30th 2006
     permalink
    exactly nifkin, just reset everything to nice and simple for the print stylesheet
    • CommentAuthoraspiramedia
    • CommentTimeMay 31st 2006 edited
     permalink
    I'd reset any floats and then remove background colours. I had printing trouble in both IE and firefox recently and realised that whatever you do in your print CSS file, the user's (default) options overide this.

    As for the first page issue, it may well be that bug. Do you have to float the main container? Consider removing other elements and leaving just the essential ones for print.

    Also, for future projects, consider using a default print stylesheet which overides the settings you often use in web builds. This tends to make the process go smoother.
    • CommentAuthorkloche
    • CommentTimeMay 31st 2006
     permalink
    Thanks guys for the direction. Ok now I have to go check over my print stylesheet with a finetooth comb.
    •  
      CommentAuthornifkin
    • CommentTimeMay 31st 2006 edited
     permalink
    Ok now I have to go check over my print stylesheet with a finetooth comb.

    The way i tend to do it is to make all my usual css stuffs apply to screen/projection only. That way your print CSS doesn't have to worry about inheriting weird stuff.

    (I tend to strip print output to just body content as well most of the time, but that's just a personal thing. I spent the better part of two years doing websites for magazines where having the nav and ads etc. wasn't going to do you any good on a sheet of paper anyway.)
Add your comments
    Username Password
  • Format comments as (Help)