Hey I'm really stuck and its so stupid, but i can't work it out!!!
(image above is how the problem looks)
this is a basic idea of my layout, my problem is i cant get the left menu bar to fit the page when the page scrolls, it fits when the smaller pages don't scroll, but the larger pages leave a huge white space under.
I have tried different x y repeats, aligning, i just can't work it out!!
HTML Code:
body {
margin:0 auto;
padding:0;
font:78% Trebuchet MS, Arial, Helvetica, sans-serif;
background: #ffffff url("bg.gif");
color:#333333;
}
a.orange:link {color: #feb03c;
text-decoration:none;}
a.orange:visited {color: #feb03c;
text-decoration:none;}
a.orange:hover {color: #feb03c;
text-decoration:underline;}
a.orange:active {color: #feb03c;
text-decoration:none;}
a.white:link {color: #ffffff;
text-decoration:none;}
a.white:visited {color: #ffffff;
text-decoration:none;}
a.white:hover {color: #ffffff;
text-decoration:underline;}
a.white:active {color: #ffffff;
text-decoration:none;}
a.black:link {color: #000000;
text-decoration:none;}
a.black:visited {color: #000000;
text-decoration:none;}
a.black:hover {color: #000000;
text-decoration:underline;}
a.black:active {color: #000000;
text-decoration:none;}
a img {
border:0;
}
p {
margin:0 0 0px 0;
}
#content {
text-align:center;
background-color:#ffffff;
color:#333333;
margin:0 auto;
padding:0px 0px;
width:747px;
border: 0px solid #000000;
}
#header {
color:#ffffff;
background:#ffffff url(head.jpg) bottom left no-repeat;
height:87px;
margin:0 0 0px 0;
padding:0px;
}
#menu {
color:#feb03c;
background:#feb03c url(menu.jpg) bottom left repeat;
width:637px;
height:19px;
margin:0px 0px 0px 0px;
padding:0px;
float:right;
}
#header h1 {
font-size:2em;
float:left;
font-weight:normal;
letter-spacing:-2px;
margin-left:0px;
}
#header a{
color: #ffffff;
}
#header a:hover{
color: rgb(182,224,150);
}
#page h2{
font-size:1.35em;
font-weight:normal;
}
#header h1 a,#header h1 a:hover {
padding:0;
}
#header em{
font-size:0.6em;
font-style:normal;
letter-spacing:2px;
}
#top {
font-size:1.2em;
margin:5px;
color:#000;
text-align:right;
}
#left
{
background:#303030;
height:500px;
width:100px;
margin:0px 0px 0px 0px;
padding:5px;
text-align:center;
font-size:1.0em;
float:left;
color:#ffffff;
}
#left2
{
background-color: #303030;
width:100px;
margin:0px 0px 0px 0px;
padding:5px;
text-align:center;
font-size:1.0em;
float:left;
color:#ffffff;
}
#page {
background:#ffffff;
margin:10px 10px 0px 100px;
padding:0;
line-height:1.5em;
text-align:center;
}
#foot{
clear:both;
margin:0 auto;
padding:8px 0;
border-top:1px solid #303030;
width:747px;
text-align:center;
color:#555555;
background-color:#ffffff;
font-size:0.9em;
}
This is my style sheet
(excuse the poor coding!)
Thanks for the help! 
Last edited by McBone; 01-29-2007 at 11:56 AM..
|