On 01/06/06, Fernando <[EMAIL PROTECTED]> wrote:
>
> I print many divs with style  page-break-after: always;
> so my structure is like this
>
> <div style=" page-break-after: always;">
> content4
> </div>
> <div style=" page-break-after: always;">
> content3
> </div>
> <div style=" page-break-after: always;">
> content2
> </div>
> <div style=" page-break-after: always;">
> content1
> </div>
>
> I want to put a page footer in all pages, How to do it?
>
> thanks
>
> ______________________________________________________________________


you could use php to do it - for example, put that html in a php file
(inside a function) like so:

<?php

function footer() { ?>

<div style=" page-break-after: always;">
content
</div>

</php }

?>


...then include the php file in the html file by placing this at the top,
before all the html:

<?php
require_once 'html_output.php';
?>

and then, where you want the footer to go, put this:

<?php
footer();
?>

...this is the php way of doing it, guess it was more of a coding question
huh?



-- 
http://www.web-buddha.co.uk

dynamic web programming from Reigate, Surrey UK (php, mysql, xhtml, css)

look out for project karma, our new venture, coming soon!
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to