John said:
I have a menu on the left with home, contact us, about us etc. The
default home page has an logo at the top. I want to be able to click
the link about us or contact us and make the menu and logo remain
there, and the information displayed in the center of the screen.
That way is doesn't look like you left the page at all.
Make a template for your pages. Include everything from the DOCTYPE, the
<head> section, the <body> including the logo header and the menu code,
the footer if applicable. Use this as an example:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"
http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title>My Template</title>
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="language" content="english" />
<meta http-equiv="dialect" content="us" />
<meta http-equiv="window-target" content="_top" />
<meta name="author" content="<Your name>" />
<meta name="description" content="<Your description" />
<style type="text/css" media="screen">@import "yourcssfile.css";
</style>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link rel="icon" href="favicon.ico" type="image/x-icon" />
</head>
<body>
<div id="logo">
[Insert your logo code here]
</div>
<div id="content"><!-- Content section -->
[Each individual page's content goes here]
</div> <!-- End of Content -->
<div id="nav"> <!-- Begin menu -->
[Your menu code goes here]
</div> <!-- End menu -->
<div id="footer">
<p>Copyright © 2006 Your Name Here. All rights reserved.
</div>
</body>
</html>
Now save it as "template.html"
When you want to make a new page, copy this file to a new one, say
"about.html" and just fill in the specific page's content.
Please don't top-post. Thanks.