Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3301526
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T20:45:37+00:00 2026-05-17T20:45:37+00:00

Is there a technique for adding a text footer the bottom of each page

  • 0

Is there a technique for adding a text footer the bottom of each page when it is printed? For example “Copyright My Company 2010” – I know there is probably a way to do this with a background image using CSS, but I would really like to use text for this portion so the client can edit it. Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T20:45:37+00:00Added an answer on May 17, 2026 at 8:45 pm

    CSS doesn’t have any notion of page media, so it’s going to be impossible to guarantee where the page breaks are going to occur naturally.

    EDIT As pointed out below, CSS 2.1 did introduce @page as a way to deal with paged media, but it was never implemented across the common browsers. So, as I wrote above, it doesn’t exist, although that’s not technically true.

    You can set hard page breaks, e.g. by placing a <div class="page-break"> at the approximate locations. You can then style it with page-break-before:always to ensure that a break happens there.

    There’s also a page-break-after property; but then you don’t know how far down the page the element starts. So, when you need to position it, the only thing you can use is position:absolute;bottom:0 which wouldn’t fix it to the page media, but to the bottom of the whole document.

    If you use page-break-before then you know it always appears at the top of the page. Then, you can use position:absolute without giving a top or bottom, which results in only taking it out of the document flow. Then, giving it a height of 720pt (10 inches) means you have a bottom edge that you can position content against.

    Here’s how I would tackle it:

    /* hide the page footer on screen display */
    .page-break { display: none; }
    
    @media print {
      /* make a 10-inch high block that sits on top of the page content */
      .page-break {
        page-break-before: always;
        display: block;
        position: absolute;
        height: 720pt;
      }
    
      /* stick the contents of .page-break to the bottom of the 10 inch block */
      .page-break .copyright {
        position: absolute;
        bottom: 0px;
      }
    }
    

    However, I have no idea how well browsers actually support this in reality. I remember playing with page breaks a while back, and ended up giving up because I couldn’t get them to work reliably enough. I suspect it’s still either impossible or very hackish and unreliable.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just wanted to know, if there is any technique to insert values into
I'm adding Internationalization to a tapestry app. Is there a standard tapestry-3 technique to
Is there any technique available in Java for intercepting messages (method calls) like the
i'm using spring+tapestry for authenticate webuser. I wonder is there any technique i can
I am wondering if there is any technique out there for making HTML code
I am using this technique: is there a way to hold the values? -
I am very new to Ajax technique Is there any site or online documents
Have a Android technique question for those seasoned vets out there... I want to
Is there a pattern, Xml structure, architecture technique we can use to create simple
I know it as secure-token URL, maby there is another name out there. But

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.