Quote:
|
You should avoid designing your website using frames (also known as framesets). There are a very few instances where frames can be used, but the reasons for doing so don't usually apply to the audiences we are most often trying to reach.
|
Why you Shouldn't use Frames
Because some websites have 100's or even 1000's of pages, frames can appear very useful... However there are a couple of ways around it.
1. Including the files using a programming language.
E.g:
HTML Code:
<html>
<head>
</head>
<body>
<?php include("header.php"); ?>
Content Area
<?php include("footer.php"); ?>
</body>
</html>
Here are some tutorials:
http://www.hardcoder.com/scripting/p...lude_files.php
2. Including the files using Server Side Includes (SSI).
E.g:
HTML Code:
<html>
<head>
</head>
<body>
<!--#include file = "header.asp" -->
Content Area
<!--#include file = "footer.asp" -->
</body>
</html>
Here are some tutorials:
http://www.htmlforums.com/showthread...threadid=25590