dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Need to keep the footer at the bottom of the all pages

  1. #1
    Join Date
    Oct 2009
    Posts
    9

    Need to keep the footer at the bottom of the all pages

    HI,

    Am using the below code to keep header and footer in all the pages.This is working fine for all the pages except the last page.In the last page if the content is getting finished in the middle of the page then footer is coming just after that.here I need to keep the footer at the bottom of the page.

    Please let me know hot to get the requirement.

    My code :
    ----------

    <html>
    <head>
    <style type="text/css">
    @media print {
    thead {display: table-header-group;}
    tfoot {display: table-footer-group;}
    }
    </style>
    <title>ESW - XXXXXXXXXXXX</title>
    </head>
    <table border=0 align="center" width="100%">
    <thead>
    <tr>
    <th width=100%>THIS IS THE header </td></tr>
    </thead>
    <tfoot>
    <tr>
    <td width=100%>THIS IS THE footer</td></tr>
    </tfoot>
    <tbody>
    <tr>
    <td width="100%">THIS IS THE BODY WHERE EVERYTHING ELSE GOESWHERE EVERYTHING ELSE GOES</td>
    </tr>
    <tr>
    <td>
    <body>
    <table>
    <tr>
    <td align="center"><p>Hi how are you</p></td>
    </tr>
    </table>
    </body>
    </td>
    </tr>
    </tbody>
    </table>
    </html>

    ------------------
    Please help me out.

    Thanks and Regards,
    Jyoti

  2. #2
    Join Date
    May 2009
    Posts
    62

  3. #3
    Join Date
    Oct 2009
    Posts
    9
    No buddy its does nt work for me........ can u pls do something as the code i hae sent......

    Thanks,
    Jyoti

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles