Hi Keith,
Sorry for the late reply. I think I overlooked this post.
Can you elaborate a bit about what you're trying to accomplish? When you say fixed, do you mean fixed where it was when the page first loaded, or fixed relative to other elements?
Can you describe the layout of your final design? Maybe provide a link to a few versions (different resolutions) as a graphic?
Also, I think you can safely remove the Netscape 4 resize fix from your code...
A few other remarks: In your CSS, 0px should be 0. When something is 0, there is no need to specify a measurement. 0 px, 0 cm, 0 cats or 0 inch are all the same.
You're using a number of outdated properties like leftmargin and topmargin. It's better to use CSS for that (as you have already done).
Finally, why are you using absolute positioning? It's probably a lot easier to define the out box of your site with a fixed width, and then position other content inside that box with attributes like margin etc. For example:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
#PageWrapper
{
width: 600px;
margin: auto;
border: 1px solid black;
}
#Menu
{
width: 200px;
margin-left: 350px;
margin-right: 48px;
border: 1px solid red;
}
</style>
</head>
<body>
<div id="PageWrapper">
<div id="Menu">
I'm the menu
</div>
<br />
I am regular content
<br />
</div>
</body>
</html>
In this example, the red "menu" box is fixed in position, relative to the rest of the page, without using absolute positioning. Is this the effect you're after?
HtH,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.