JonisJon
03-02-2009, 12:02 AM
Hey everyone,
I am having a problem with my site I am working on here:
www.fellowcitizensmusic.com/press.html
All my other pages seem to be working fine, but when there is not enough content in the main content div the rounded box does not expand to fit the page and leaves a blank white space to the right. Can anyone help me figure out how to set this so the rounded box will always fill the page no matter how little content is in there?
As always any help is greatly appreciated, thanks!
My CSS:
@charset "utf-8";
body {
font: 100% Verdana, Arial, Helvetica, sans-serif;
background: #FFF;
text-align: center;
color: #000000;
margin: 0;
padding: 0;
font-family: Verdana, Geneva, sans-serif;
}
.oneColElsCtrHdr #container {
border: 1px solid #000000;
text-align: left;
background-color: #FFF;
margin: auto;
}
.oneColElsCtrHdr #header h1 {
}
.oneColElsCtrHdr #mainContent {
background-color: #CCC;
padding: 0 40px;
}
#mainContent {
font-family: "Rockwell Extra Bold";
font-size: 100%;
font-style: normal;
color: #FFF;
text-align: center;
float: none;
clear: none;
top: 210px;
position: absolute;
left: 0px;
}
#header {
background-color: #FFF;
top: 0px;
background-repeat: repeat-x;
left: 0px;
width: 100%;
height: 60px;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
background-image: url(../images/Header_Bg2.jpg);
overflow: hidden;
position: absolute;
}
#footer {
background-color: #CCC;
width: 100%;
height: 200px;
}
#footer P {
color: #FFF;
text-align: center;
}
#header ul {
list-style-type: none;
font-size: 20px;
color: #FFF;
font-weight: bold;
position: absolute;
top: 0;
clear: right;
padding-left: 2.5em;
left: 40px;
float: left;
}
#header li {
display: inline;
margin-right: 1em;
overflow: hidden;
}
#header a {
font-size: 100%;
color: #000;
text-decoration: none;
padding-top: 2px;
padding-right: 15px;
padding-bottom: 2px;
padding-left: 15px;
}
#masthead {
background-position: center;
position: absolute;
width: 100%;
left: 0px;
top: 60px;
}
.box {
background-color: #000;
clear: left;
height: 100%;
width: 100%;
}
.boxtop {
background-image: url(../images/ne.gif);
background-repeat: no-repeat;
background-position: right top;
text-align: left;
}
.boxtop div {
background-image: url(../images/nw.gif);
background-repeat: no-repeat;
background-position: left top;
height: 50px;
font-size: 0px;
width: 50px;
}
.boxbottom {
background-image: url(../images/se.gif);
background-repeat: no-repeat;
background-position: right bottom;
text-align: center;
}
.boxbottom div {
font-size: 0px;
height: 50px;
background-image: url(../images/sw.gif);
background-repeat: no-repeat;
background-position: left bottom;
width: 50px;
}
.boxcontent {
padding: 0px 50px 0px 50px;
}
I am having a problem with my site I am working on here:
www.fellowcitizensmusic.com/press.html
All my other pages seem to be working fine, but when there is not enough content in the main content div the rounded box does not expand to fit the page and leaves a blank white space to the right. Can anyone help me figure out how to set this so the rounded box will always fill the page no matter how little content is in there?
As always any help is greatly appreciated, thanks!
My CSS:
@charset "utf-8";
body {
font: 100% Verdana, Arial, Helvetica, sans-serif;
background: #FFF;
text-align: center;
color: #000000;
margin: 0;
padding: 0;
font-family: Verdana, Geneva, sans-serif;
}
.oneColElsCtrHdr #container {
border: 1px solid #000000;
text-align: left;
background-color: #FFF;
margin: auto;
}
.oneColElsCtrHdr #header h1 {
}
.oneColElsCtrHdr #mainContent {
background-color: #CCC;
padding: 0 40px;
}
#mainContent {
font-family: "Rockwell Extra Bold";
font-size: 100%;
font-style: normal;
color: #FFF;
text-align: center;
float: none;
clear: none;
top: 210px;
position: absolute;
left: 0px;
}
#header {
background-color: #FFF;
top: 0px;
background-repeat: repeat-x;
left: 0px;
width: 100%;
height: 60px;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
background-image: url(../images/Header_Bg2.jpg);
overflow: hidden;
position: absolute;
}
#footer {
background-color: #CCC;
width: 100%;
height: 200px;
}
#footer P {
color: #FFF;
text-align: center;
}
#header ul {
list-style-type: none;
font-size: 20px;
color: #FFF;
font-weight: bold;
position: absolute;
top: 0;
clear: right;
padding-left: 2.5em;
left: 40px;
float: left;
}
#header li {
display: inline;
margin-right: 1em;
overflow: hidden;
}
#header a {
font-size: 100%;
color: #000;
text-decoration: none;
padding-top: 2px;
padding-right: 15px;
padding-bottom: 2px;
padding-left: 15px;
}
#masthead {
background-position: center;
position: absolute;
width: 100%;
left: 0px;
top: 60px;
}
.box {
background-color: #000;
clear: left;
height: 100%;
width: 100%;
}
.boxtop {
background-image: url(../images/ne.gif);
background-repeat: no-repeat;
background-position: right top;
text-align: left;
}
.boxtop div {
background-image: url(../images/nw.gif);
background-repeat: no-repeat;
background-position: left top;
height: 50px;
font-size: 0px;
width: 50px;
}
.boxbottom {
background-image: url(../images/se.gif);
background-repeat: no-repeat;
background-position: right bottom;
text-align: center;
}
.boxbottom div {
font-size: 0px;
height: 50px;
background-image: url(../images/sw.gif);
background-repeat: no-repeat;
background-position: left bottom;
width: 50px;
}
.boxcontent {
padding: 0px 50px 0px 50px;
}