On Mon, Dec 20, 2010 at 18:40, Evan Panagiotopoulos <epana...@gmail.com>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 ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] 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/