u can do it this way (with php or asp)
Code:
php method, put this in ur index file:
<?php include("header.php") ?>
<div id="index">your "text" here.</div>
<?php include("footer.php") ?>
and in ur "header.php" you can have:
Code:
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css" />
<title>woohoo</title>
</head>
<body>
<div id="site">
<div id="banner"><img src="banner.png" alt="banner border="0" /></div>
<div id="menu">
<img src="button1.png" alt="button 1" />
<img src="button2.png" alt="button 2" />
<img src="button3.png" alt="button 3" />
</div>
Then u gotta have a footer too. (footer.php)
Code:
<div id="footer">
w/e u want here</div>
</div>
</body>
</html>
so basiclly, what this does is that the code loads from 3 different files so that its easier to "fix" them.
Code:
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css" />
<title>woohoo</title>
</head>
<body>
<div id="site">
<div id="banner"><img src="banner.png" alt="banner border="0" /></div>
<div id="menu">
<img src="button1.png" alt="button 1" />
<img src="button2.png" alt="button 2" />
<img src="button3.png" alt="button 3" />
</div>
<div id="index">Your "text" here</div>
<div id="footer">
w/e u want here</div>
</body>
</html>
<div id="footer">
w/e u want here</div>
</div>
</body>
</html>
might be a lil hard to understand but ill try to explain it better if u need it
Bookmarks