Thank you for the suggestions. I tried many variations of the html
file. I tried creating one huge file and many, smaller in size, html
files contained in one physical file. I will look closer into PDF,
though. In terms of ID-ing each page, I tried that too since I create
the html using php. I have a variable that counts the pages and I
built the ID incorporating the counter variable. For now I am
enclosing the data that needs to be in the page with the footer with a

<div class="print_report" style="height:auto; min-height:240px;">

That way as the data changes the fake footer will be in the same
position. I realize that this is not as nice as the css soution but it
works.

Evan

On Wed, Dec 22, 2010 at 9:31 AM, Mark Richards <[email protected]> wrote:
> On Mon, Dec 20, 2010 at 18:40, Evan Panagiotopoulos <[email protected]>
> wrote:
>>
>> I create a string of html documents using php. Each document prints one
>> sheet of paper.
>
> [snip]
>>
>> If I use: <div id="print-footer"> Using id=... to call the css and I only
>> get the footer properly placed on the first page only. The rest of the
>> pages
>> do not have a footer.
>>
>> If I use <div class="print-footer"> Using class=... to call the css I get
>> the "footer" text placed under the end of the content on each page.
>> Somehow
>> it does not appear as a footer.
>
>
> How is your HTML organized? If it's one html file per physical page, the use
> of ID vs CLASS for css shouldn't matter (make sure if you use class you're
> adjusting your selector).  If you're using one html file for all the odd
> pages you might try position:fixed for the footer. A fixed box will appear
> on each printed page. If all the pages are in a single file, I'm not aware
> of any syntax that can suppress the footer only for even pages but then I've
> never practised printing HTML. As others have suggested you might want to
> try generating a pdf instead.
>
> Mark
>
>



-- 
Evan Panagiotopoulos
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to