Header and footer in HTML
Solved/Closed
Related:
- Footer and header in html
- Php header 301 redirect - Guide
- Front panel audio header - Guide
- X-no-auto-translation email header - Guide
- Mp3 header format - Guide
- Insert page number OpenOffice: in footer - Guide
5 responses
You can use SSI (Server Side Includes) http://httpd.apache.org/docs/1.3/howto/ssi.html.html ... the best way would be to use a server side langage like PHP (simple and easy to learn)
<?php include "http://www.mydomain/header.php" ?>
<stong>MY HTML CODE IN THE MAIN CELL</strong>
<?php include "http://www.mydomain/footer.php" ?>
<?php include "http://www.mydomain/header.php" ?>
<stong>MY HTML CODE IN THE MAIN CELL</strong>
<?php include "http://www.mydomain/footer.php" ?>
hey, I am trying to design a logo with html and use it as a hesder for my web page. please show me both how to create the logo and code for inserting a header and a footer
Hello JudySis,
Please have clear information about the specific matter from the below address.
https://www.w3schools.com/html/html_tables.asp
Thank you.
Please have clear information about the specific matter from the below address.
https://www.w3schools.com/html/html_tables.asp
Thank you.
13 Apr 2009 à 05:25
7 May 2009 à 22:06
1 Jun 2009 à 03:01
22 Jul 2009 à 07:29
26 Oct 2009 à 13:31
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<title>Fixed header and footer</title>
<style type="text/css">
body{
margin:0;
padding:header-<length> 0 footer-<length> 0;
}
div#header{
position:absolute;
top:0;
left:0;
width:100%;
height:header-<length>;
}
div#footer{
position:absolute;
bottom:0;
left:0;
width:100%;
height:footer-<length>;
}
@media screen{
body>div#header{
position:fixed;
}
body>div#footer{
position:fixed;
}
}
* html body{
overflow:hidden;
}
* html div#content{
height:100%;
overflow:auto;
}
</style>
<div id="header"> header </div>
<div id="footer"> footer </div>
<div id="content"> content </div>