All I want is for the CSS to expand vertically to accommodate the content yet at a bare minimum fill the screen top to bottom. This is going on 4 hours trying to figure it out, and I'm at my wit's end.
Yes, I'm sure it's very easy for a CSS coding god, but that's not me. So, now I'm praying to the CSS god's: help me out please!
Yes, I'm sure it's very easy for a CSS coding god, but that's not me. So, now I'm praying to the CSS god's: help me out please!
Code:
/** Container CSS **/
.container {
width: 960px;
height:auto;
position: absolute;
top: 0px;
margin-left: -480px;
border: thin solid #CCCCCC;
left: 50%;
background-color: #FFFFFF;
}
.container .header {
background-color:#000000;
width: 960px;
}
.container .menu {
height: 40px;
width: 960px;
background-color: #554722;
z-index: 1;
}
.container .header h1 {
display: none;
}
.container .sidebar {
float: left;
width: 200px;
overflow:visible;
position: relative;
left: 50%;
margin-left: -480px;
top: -15px;
}
.container .content {
width: 750px;
min-height: 800px;
overflow:hidden;
position: absolute;
left: 200px;
top: 262px;
padding-top: 0px;
padding-right: 5px;
padding-bottom: 0px;
padding-left: 5px;
}
.container .sidebar h3 {
font-family: Arial, Helvetica, sans-serif;
font-size: 18px;
color: #FFFFFF;
background-color: #A08E4C;
height: 25px;
width: 200px;
}
.container .content h1 {
font-family: Arial, Helvetica, sans-serif;
font-size: 24px;
position: absolute;
}
/** TOP Horizontal Menu **/
ul{
margin: 0 auto;
}
ul.horizontal_list li{
text-align: left;
float: left;
list-style: none;
padding: 3px 10px 3px 10px;
margin: 5px;
border: 1px solid #CCC;
background-color: #D6CCA8;
font-family: Arial, Helvetica, sans-serif;
}
.container .menu .horizontal_list a {
color: #000000;
text-decoration: none;
}
.container .menu .horizontal_list a:hover {
color: #0000FF;
text-decoration: none;
}
.container .menu .horizontal_list a:visited {
color: #FF0000;
text-decoration: none;
}
/** Misc **/
body {
background-color: #1F1F1F;
}
#footer {
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
color: #FFFFFF;
text-align: center;
position:absolute;
bottom:0;
width:100%;
height:50px; /* Height of the footer */
background-color: #000000;
vertical-align: bottom;
}
#footer a {
color: #999999;
text-decoration: none;
}
#footer a:hover {
color: #0000FF;
text-decoration: none;
}
#footer a:visited {
color: #FF0000;
text-decoration: none;
}
/** SIDEBAR Vertical Menu **/
#vertmenu {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 100%;
width: 195px;
padding: 0px;
margin: 0px;
top: 17px;
position: relative;
}
#vertmenu h1 {
display: block;
background-color:#000000;
font-size: 90%;
color:#FFFFFF;
padding: 3px 0 5px 3px;
border: 1px solid #000000;
margin: 0px;
width:195px;
}
#vertmenu ul {
list-style: none;
margin: 0px;
padding: 0px;
border: none;
}
#vertmenu ul li {
margin: 0px;
padding: 0px;
}
#vertmenu ul li a {
font-size: 80%;
display: block;
border-bottom: 1px dashed #C39C4E;
padding: 5px 0 2px 4px;
text-decoration: none;
color: #5E4B21;
width:195px;
}
#vertmenu ul li a:hover, #vertmenu ul li a:focus {
color: #000000;
background-color: #eeeeee;
}