- Joined
- May 17, 2007
- Messages
- 2,741
- Reaction score
- 938
My main problem here is that, the lower bottom content is missing and and I want it so that when I increase the text, the mid content stretches with it.
I can't seem to find a soluation for this error, could anyone help me please?
Here's a screenshot of what's happening:
Here's the HTML:
Here's the CSS:
I can't seem to find a soluation for this error, could anyone help me please?
Here's a screenshot of what's happening:
![Aaron - [HTML/CSS] Content Help - RaGEZONE Forums Aaron - [HTML/CSS] Content Help - RaGEZONE Forums](http://dump.stoleyour.net/uploads/ff1e994a70.png)
Here's the HTML:
PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title></title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="shadow">
<div id="container">
<center>
<ul id="navbar">
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Features</a></li>
<li><a href="#">Downloads</a></li>
<li><a href="#">Community</a></li>
<li><a href="#">Staff</a></li>
<li><a href="#">Support</a></li>
<li><a href="#">Contact</a></li>
</ul>
</center>
<div id="content">
<p class="alertorng">This alert will only be shown when when the forums are in maintenance mode!</p>
<div id="midbanner">middle banner will be coming soon</div>
<br />
<br />
<div id="cont"><div id="left-column"><p>Main content here!</p><p>Main content here!</p><p>Main content here!</p><p>Main content here!</p><p>Main content here!</p><p>Main content here!</p><p>Main content here!</p><p>Main content here!</p></div><div id="right-column">Side Content Here</div></div>
</div>
</div>
</div>
<div id="footer">
<img src="images/hr.png" width="902px" height="1px" />
<br />
ads <a href="">link</a>
<div id="shadow_footer"></div>
</body>
</html>
PHP:
body
{
background-image: url(images/pgbg.gif);
background-repeat: repeat-x;
background-color: #f0f0f0;
font-family: Verdana, Arial, sHelvetica, sans-serif;
text-align: center;
margin-top: 10px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
}
/* Footer */
#footer {
position:absolute;
bottom:0;
width:100%;
height:60px;
font-size: 13px;
font-family: "century gothic";
color: #ababab;
}
#footer p
{
margin-top: 0px;
margin-right: 0px;
margin-bottom: 3px;
margin-left: 0px;
}
#footer a
{
color: #7f7f7f;
text-decoration: underline;
}
#footer a:hover
{
text-decoration: none;
}
/* Left and Right Content */
#cont {
width: 1000px;
border: none;
margin-left: auto;
margin-right: auto;;
}
#left-column {
width: 20%;
float: left;
margin-right: 900px;
}
#right-column {
width: 30%;
float: right;
}
/* Mid Banner */
#midban {
width: 902px;
height: 202px;
padding-top: 200px;
}
#underban {
color:#ffff00;
font-size:10px;
line-height:12px;
}
#underban p {
padding-bottom: 50px;
}
/* Corners */
div.right_top,
div.right_top div.right,
div.right_bottom,
div.right_bottom div.right {
height: 11px;
}
div.right_top {
background: url(images/right_left.png) no-repeat;
margin: -7px -7px 0 -7px;
}
div.right_top div.right {
background: url(images/right_right.png) 100% 0 no-repeat;
}
div.right_bottom {
background: url(images/right_left.png) 0 100% no-repeat;
margin: 0 -7px -7px -7px;
float: right;
width: 204px;
}
div.right_bottom div.right {
background: url(images/right_right.png) 100% 100% no-repeat;
}
div.right_highlight {
float: right;
width: 190px;
text-align: center;
margin-left: 10px;
padding: 6px;
background: #f0f0f0;
border: 1px solid #d0d0d0;
}
div.right_highlight p {
margin-bottom: -3px;
}
div#page div.item div.illustration img {
border: 1px solid #03558A;
}
/* NAVIGATION */
#navbar {
font-family:Arial, Helvetica, sans-serif;
font-size:.8em;
font-weight:bold;
padding:10px 20px;
background:url("images/bk2.gif") repeat-x;
height:45px;
width: 880px;
float: center;
}
#navbar li {
list-style:none;
display:inline;
}
#navbar a {
width:110px;
color:#fff;
text-decoration:none;
background:url("images/tab2.gif") no-repeat;
float:left;
padding:12px 10px 13px;
margin:0 -10px;
}
#navbar a:hover {
background-position:0 -45px;
color:#1e5ebd;
}
#navbar a:active {
background-position:0 -90px;
color:#1e5ebd;
}
/* Different Color Alerts */
.alertorng {
background: #21b2f9;
border-top: 2px solid #038ced;
border-bottom: 2px solid #038ced;
text-align: center;
margin: 0px auto;
padding: 2px 12px;
width: 880px;
}
/* Container Shadow */
div#shadow {
position: relative;
background: url(images/shadow.png) top left repeat-y;
width: 980px;
margin: auto auto;
height: auto;
}
/* Footer Shadow */
div#shadow_footer {
background: url(images/shadow_footer.png) top left no-repeat;
width: 980px;
height: 30px;
margin: auto auto;
}
/* Container */
div#container {
position: relative;
background: #fff; url(images/shadow.png);
margin-left: auto;
margin-right: auto;
margin: auto;
width: 940px;
border: 1px solid #878787;
border-top: 0;
border-bottom: 0;
height: 93%;
}
*/
/* Header Area */
#header {
border-bottom: 1px solid #024570;
border-top: 1px solid #024570;
}
/* Logo and Link (inside header) */
#container #header a.link {
height: 125px;
width: 99.9%;
display: block;
background-position: 17px 17px;
border-bottom: 0;
z-index: 10;
}
/* Content Area */
#container #content {
padding: 12px;
}