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.

  1.  permalink
    Hello

    Current job involves taking long long reports and formatting them nicer for printing. I need to have a common banner and footer on each page, along with a page number. Does anyone have any ideas or some links to help. I have had a look but since CSS3 not supported yet, no real help. This is for a big client and they all have IE6. Thank you.
    •  
      CommentAuthornifkin
    • CommentTimeFeb 19th 2006 edited
     permalink
    Well, where I work we've been using a seperate print style sheet, then putting print specific items (we're just using a medium logo and a text disclaimer at the bottom of the page) in the regular XHTML then toggling where they display in the screen/print CSS (screen gets nav and no disclaimer, print gets disclaimer and no nav, etc.)

    as for page numbers, i'm just guessing yr hosed on that one for the time being.
    • CommentAuthorspyyddir
    • CommentTimeFeb 20th 2006
     permalink
    as for page numbers, i'm just guessing yr hosed on that one for the time being.


    Actually, you're wrong. Page numbering is very simple. CSS2 has a huge number of print formatting abilities no one seems to be aware of.

    For page numbers:

    @page {
    @bottom-left { content: counter(page) }
    }

    You can change bottom-left to bottom-right or top-left/right aswell.
    •  
      CommentAuthornifkin
    • CommentTimeFeb 21st 2006
     permalink
    interesting. any information on which browsers support that?
Add your comments
    Username Password
  • Format comments as (Help)