View Full Version : Signature Block @media print

Dec 7th, 2006, 08:44 PM
I have an app in an intranet environment that creates printable reports with the intent that these reports will be signed and filed.

In the past I have used tables to get the signature block to always appear at the bottom of the page no matter how many pages the report ended up being. Of course this means that the table had a height attribute set which doesn't really exist. I would like to do this in a more intelligent fashion but am having difficulty getting the desired results.

My original answer was just NOT having the signature block always appearing at the bottom but just ending up wherever it would in normal document flow. I was sneered at in a menacing way and told that wouldn't cut it. I laughed to myself inside a bit and moved on.

I have tried absolutely positioning a div but it only locks it to the bottom of the first page and the text flows behind it. (IE7 and FF2)

I have no doubt that I'm making this more complicated than need be. I'm sure there is a Put this at the bottom of a printed page tag that I'm missing. :rolleyes:

Dec 8th, 2006, 02:05 AM
What you request seems to be defined in section four (http://www.w3.org/TR/css3-page/#margin-boxes) of the CSS 3 Paged Media Module, but that specification is still in the drafting stage and apparently no browsers support the @page at‐rules yet. It doesnít look like any browsers except Opera 9 even support the CSS 2 Paged Media section either, so Iím guessing that widespread support is going to be a long while in coming.

Edit (correction): Firefox 2, Internet Explorer 7, and Konquerer 3.5 seem to support parts of the CSS 2 Paged Media section, but I donít see anything that would help you.

Dec 8th, 2006, 02:42 AM
Correct a table has no height attribute but you CAN use CSS to make the table 100% height.

Dec 8th, 2006, 03:02 AM
Ah, I figured that he wanted to scrap the table.

Dec 8th, 2006, 05:40 PM
If I must use a table until browsers catch up I guess I will. Thank you guys very much for the extra brain power.