wings
01-23-2007, 03:45 PM
Hi,
The pic below is my template iv made. Im having problems laying it out. At the moment it show the left side of it correctly then the right side belowin, like on another page.
Also once iv fixed that how would i make the content box expand with the amount of text.
http://img441.imageshack.us/img441/6450/revolutioncreationscopy0qz.th.jpg (http://img441.imageshack.us/my.php?image=revolutioncreationscopy0qz.jpg)
body
{
background: #FFFFFF;
margin: 0;
font-family: "Verdana";
font-size: 11px;
}
#container
{
text-align: left;
width: 900px;
height: 100%;
margin: auto;
overflow: hidden;
border-left: 0px solid #999999;
border-right: 0px solid #999999;
}
#leftside
{
width: 100%;
height: 776px;
float: left;
background: url('images/leftside.jpg') top left no-repeat;
}
#rightside
{
width: 100%;
height: 776px;
float: right;
background: url('images/rightside.png') top right no-repeat;
}
#header
{
width: 100%;
height: 178px;
background: url("images/header.jpg") top no-repeat;
}
#headerbar
{
width: 100%;
height: 21px;
background: url('images/headerbar.jpg') top no-repeat;
}
#nav
{
width: 100%;
height: 27px;
background: url('images/nav.jpg') top right no-repeat;
}
#sidenav
{
width: 100%;
height: 577px;
margin-left: 26px;
background: url('images/sidenav.png') top left no-repeat;
}
#content
{
width: 100%;
height: 550px;
background: url('images/content.png') top no-repeat;
}
#footer
{
width: 100%;
height: 84px;
background: url('images/footer.jpg') bottom no-repeat;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Revolution-Creations</title>
<link href="style.css" rel="stylesheet" type="text/css"/>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
</head>
<body>
<div id="container">
<div id="leftside">
</div>
<div id="header">
</div>
<div id="rightside">
</div>
<div id="headerbar">
</div>
<div id="sidenav">
</div>
<div id="nav">
</div>
<div id="content">
</div>
<div id="footer">
</div>
</div>
</body>
</html>
The pic below is my template iv made. Im having problems laying it out. At the moment it show the left side of it correctly then the right side belowin, like on another page.
Also once iv fixed that how would i make the content box expand with the amount of text.
http://img441.imageshack.us/img441/6450/revolutioncreationscopy0qz.th.jpg (http://img441.imageshack.us/my.php?image=revolutioncreationscopy0qz.jpg)
body
{
background: #FFFFFF;
margin: 0;
font-family: "Verdana";
font-size: 11px;
}
#container
{
text-align: left;
width: 900px;
height: 100%;
margin: auto;
overflow: hidden;
border-left: 0px solid #999999;
border-right: 0px solid #999999;
}
#leftside
{
width: 100%;
height: 776px;
float: left;
background: url('images/leftside.jpg') top left no-repeat;
}
#rightside
{
width: 100%;
height: 776px;
float: right;
background: url('images/rightside.png') top right no-repeat;
}
#header
{
width: 100%;
height: 178px;
background: url("images/header.jpg") top no-repeat;
}
#headerbar
{
width: 100%;
height: 21px;
background: url('images/headerbar.jpg') top no-repeat;
}
#nav
{
width: 100%;
height: 27px;
background: url('images/nav.jpg') top right no-repeat;
}
#sidenav
{
width: 100%;
height: 577px;
margin-left: 26px;
background: url('images/sidenav.png') top left no-repeat;
}
#content
{
width: 100%;
height: 550px;
background: url('images/content.png') top no-repeat;
}
#footer
{
width: 100%;
height: 84px;
background: url('images/footer.jpg') bottom no-repeat;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Revolution-Creations</title>
<link href="style.css" rel="stylesheet" type="text/css"/>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
</head>
<body>
<div id="container">
<div id="leftside">
</div>
<div id="header">
</div>
<div id="rightside">
</div>
<div id="headerbar">
</div>
<div id="sidenav">
</div>
<div id="nav">
</div>
<div id="content">
</div>
<div id="footer">
</div>
</div>
</body>
</html>