[thelist] Web Page Headers with a Variable

j s jslist at sbcglobal.net
Wed Oct 17 09:49:24 CDT 2007

To get a header and footer in place I used this code.  The trick was to put it all in 1 big table and place the header then footer on top.  

<style type="text/css">
thead { display: table-header-group;}
tfoot { display: table-footer-group;} 

<table width="747" border="0" cellpadding="0">
<thead>         <%'~~~~~~~~~~~~~~~~~THEAD~~~~~~~~~~~~%>
    <td width="856"><table width="100%" border="0" cellpadding="0" class="textBold">
        <td colspan="6"><img src="../images/logo.jpg" width="200" height="47" align="left"> <table width="458" border="0" cellpadding="0">
            <td width="642"><div align="center">
              <p class="textBold">Summary by Area</p>
              <p class="textBold">As of <%=(FormatDateTime(Now(),2))%><br>
&nbsp;&nbsp;&nbsp; </p>
        </table>          <div align="center"></div>
        <td width="27%" >&nbsp;</td>
        <td width="11%" valign="top">State&nbsp;</td>
        <td width="18%" valign="top"><div align="left">Type</div>
        <td width="15%" valign="top"><div align="right">Total Area</div>
        <td width="15%" valign="top"><div align="right">Total Counts</div>
        <td width="14%" valign="top">&nbsp;</td>
  <tfoot>         <%'~~~~~~~~~~~~~~~~~TFOOT~~~~~~~~~~~~%>
    body of page

----- Original Message ----
From: Ken Snyder <kendsnyder at gmail.com>
To: "thelist at lists.evolt.org" <thelist at lists.evolt.org>
Sent: Tuesday, October 16, 2007 2:19:10 PM
Subject: Re: [thelist] Web Page Headers with a Variable

On 10/16/07, j s <jslist at sbcglobal.net> wrote:
> ... When a new page shows up to print is there anyway to grab the current area and have it print up in the header?  ...

I thought that specifying page header/footer with CSS was only
available in CSS3 which isn't supported by browsers yet.  I've always
had to do a print to PDF when header/footer was important.

I'd be really interested if CSS can currently control page
header/footer!  Does anyone know for sure?

- Ken Snyder

* * Please support the community that supports you.  * *

For unsubscribe and other options, including the Tip Harvester 
and archives of thelist go to: http://lists.evolt.org 
Workers of the Web, evolt !

More information about the thelist mailing list