...

View Full Version : Footer positioning



parallon
03-30-2007, 11:41 PM
Hello all. I am creating a timecard system in which a signature of some sort is needed on all timecards. How would I go about forcing a signature to print at the bottom of the page no matter how much or little information is above it? Using a table at 100% is not an option for me since the data may span multiple pages.

Actually, let me explain this a little better. The way the system works is that it pulls all timecards to print at once, and I am using page breaks to separate each timecard for printing. So, with this, I have a feeling that CSS positioning won't work either.

Thanks inadvance,

Parallon

miranda
04-01-2007, 03:13 PM
if you are using asp to loop through the timecards and print them then you would add the signature at the bottom of the loop before you tell it to move to the next record

For each loop Example


For each record in YourRecords
'display your timecard
Response.Write "the signature goes here"
Next


do while loop example


Do While Not oRs.EOF
'display your timecard
Response.Write "the signature goes here"
oRs.MoveNext
Loop

parallon
04-01-2007, 04:24 PM
Thank you, and I understand this, but will it ensure that it is at the bottom of the page? Remember I am dynamically creatint the table based on the number of records, so sometimes there may be 5 records or 25 records. I would like the signature to always be the same distance from the bottom, right-hand corner.

I hope that this makes sense,

Parallon

miranda
04-02-2007, 06:53 PM
Whenever you are going to do the page break do the signature and then do the break. If you put the signature inside a div element with a CSS class that sets the absolute positioning, you should always have it in the same place.

parallon
04-02-2007, 07:30 PM
Thank you. That makes total sense. I will give it a try! ;o)

Parallon



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum