[Last Call] Learn how to a build a cloud-first strategyRegister Now


css print

Posted on 2011-10-26
Medium Priority
Last Modified: 2012-06-27

i wont to print a html page (it can be 1-20 paegs)  i hve 1 line that need to be on the top on each page i can use siv span center how i make it repite
Question by:yairab
LVL 11

Accepted Solution

level9wizard earned 1000 total points
ID: 37030870
Check out this example:

Is that what you're looking for? Note: This example places the text at the footer, so you could change bottom: 0; to top: 0;

Author Comment

ID: 37031299

thanks for replay

i tray to do :       aString = aString &  "@media print {div.divFooter {position: fixed; top: 0;}}"

<div class='divFooter'>xxxxxx</div>

i dont know way it dosn't work for my i work with ie8 & FF (probly the last vertion)

LVL 43

Assisted Solution

Rob earned 1000 total points
ID: 37080739
try changing

position: fixed


position: absolute

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question