View Single Post
  #6 (permalink)  
Old May 1st, 2008, 17:39
dab42pat dab42pat is offline
SuperMember

SuperMember
Join Date: Jun 2007
Location: uk
Posts: 459
Thanks: 0
Thanked 0 Times in 0 Posts
Re: simple layout problem

Yep point taken. Give this a try.

HTML: Select all
<!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=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
#header {
    margin: 0 auto;
    width:960px;
    height:200px;
    overflow:auto;
    border:#000000 thin solid;
    z-index:1;
}

#container {
    margin: 0 auto;
    width:960px;
    overflow:auto;
    

}

#left {
    float: left;
    width:220px;
    height:400px;
    clear:left;
    margin: 15px 8px 3px 0;
    border:#000000 thin solid;
}

#centre {
    float: left;
    width:504px;
    height:500px;    
    margin-top: -50px; 
    border:#000000 thin solid;
    z-index:2;
}

#right {
    float: right;
    width:220px;
    height:400px;    
    margin: 15px 0 3px 8px;
    border:#000000 thin solid;
}

#footer {
    margin: 0 auto;
    width:960px;
    height:90px;
    margin-top: 10px;
    margin-bottom:5px;
    border:#000000 thin solid;

}

#menu { float: left;
        width: 960px;
        height:50px;
        } 
-->
</style>
</head>

<body><div id="container">
<div id="header">
<div id="menu"></div>
</div>

<div id="left"></div>
<div id="centre">grttyujygujkygu</div>
<div id="right"></div>

</div>
<div id="footer"></div>
</body>
</html>
Something like this may solve your problem.

Pat
Reply With Quote