I am having the darndest time trying to get the footer color to fill the entire footer area. I could set the footer’s height to a high number (700px), but it was cause the scrollbar to appear. I tried the overflow: hidden tag, but it doesn’t seem to help.
Any tips are GREATLY appreciated. Try not to laugh at my code.
-Kid
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
/* structure */
.header {
height: 187px;
background: #808080 url(../images/header_bg.gif) repeat-x;
position: relative;
z-index: 1;
}
.logo {
height:120px;
width:770px;
float:left;
}
.wrap {
text-align: left;
margin: auto;
padding: 0px 0 0 0;
width: 750px;
z-index: 2;
position: relative;
}
.left_side {
clear: both;
width:68%;
padding: 0px 5px 60px 15px;
float:left;
margin: -55px 0 0 0;
position: relative;
z-index: 4;
border-right: 1px solid #ededed;
border-left: 1px solid #ededed;
}
.right_side {
width:29%;
float:right;
padding: 0px 0 150px 0;
margin-top: -55px;
position: relative;
z-index: 5;
}
#banner {
text-align:center;
}
#footer_wrap {
clear:both;
height: auto;
overflow: hidden;
background: #a04031 url(../images/footer_bg.gif) repeat-x;
width: 100%;
font-size: 0.8em;
text-align: center;
margin: 0 0 100% 0;
}
.footer{
width: 700px;
font-size: 12px;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #ffd3bd;
padding: 10px 0 10px 0;
margin: auto;
text-align: center;
line-height: 1.9em;
}
.copyright {
font-size: 14px;
font-family: Tahoma, Helvetica, sans-serif;
}
/* big titles */
.componentheading {
color: #ffa250;
font-family: Georgia, Trebuchet MS, Arial, Verdana, sans-serif;
font-size: 26px;
line-height: 30px;
padding-bottom: 5px;
padding-top: 8px;
letter-spacing: -1px;
border-bottom: 1px solid #ededed;
display: block;
width:440px;
text-align: left;
letter-spacing: 1px;
}
.contentheading {
color: #a04031;
font-family: Trebuchet MS, Verdana, sans-serif;
font-size: 16px;
padding: 10px 0 0 0;
letter-spacing: 3px;
font-weight: bold;
text-transform: uppercase;
}
/* right menu */
#active_menu {
color: #ffa250;
background: #fff9ef;
border-bottom: 1px solid #ffa250;
}
a.mainlevel:link, a.mainlevel:visited {
color: #a04031;
border-bottom: 1px solid #eee;
display: block;
font-weight: bold;
font-family: Tahoma;
font-size: 13px;
margin: 0 0 0 0px;
padding: 3.5px;
text-decoration: none;
}
a.mainlevel:hover {
color: #ffa250;
background: #fff;
border-bottom: 1px solid #ffa250;
}
a.mainmenu:link, a.mainmenu:visited {
color: #7DB30E;
font-family: Arial,Verdana, Helvetica, sans-serif;
font-weight: bold;
font-size: 10px;
}
a.mainmenu:hover {
color: #1E0B04;
}
-->
</style>
</head>
<body>
<div class="header">
<div class="wrap">
<div class="logo"><img src="images/header.jpg" border="0" width="770" height="120"></div>
</div>
</div>
<div class="wrap">
<div class="left_side">
<div class="componentheading">Service Menu & Rates</div>
</div>
</div>
<div id="footer_wrap">
<div class="footer"><span class="copyright">Copyright 2006 - Phoenix Massage Therapy & Practice</span> <br />
<br />
<br />
</div>
</div>
</body>
</html>