I have a gap on the left side of my footer showing the background image.. My footer is set up to slide up and down if I add or remove content.. Here is my css and HTML Please help!
<body class="body">
<div class="wrapper">
<img src="/images/Logo.png" class="logo" alt="SEO" />
<div id="tabsH">
<ul>
<li><a href="http://www.example.com" title="Home"><span>Home</span></a></li>
<li><a href="http://www.example.com/webdesign.html" title="Web Design"><span>Web Design</span></a></li>
<li class="selected"><a href="http://www.example.com/0seo.html" title="SEO"><span>SEO</span></a></li>
<li><a href="http://www.example.com/inquiry.html" title="Inquire"><span>Inquire</span></a></li>
<li><a href="mailto:admin@example.com" title="E-Mail">E-Mail</a></li>
</ul>
</div>
<img src="/images/seo.jpg" class="seograph" />
<div class="lowercontent">
<h1>Services</h1>
Example text
<h2>Traffic</h2>
Example text
<br />
Example text<br />
Example text
<h1>Content</h1>
Example text
<h1>Advantage</h1>
Example text
<h1>Campaign</h1>
Example text</div>
</div>
<div class="push"></div>
<div class="footer">
<img src="/images/footer.png" alt="footer" /></div>
</body>
</html>
<style type="text/css">
.wrapper {
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -350px;
width: 100%;
}
.footer{
position:relative;
background:url("/images/footer.png");
height: 350px;
width: 100%;
margin:0 auto;
left: 0px;
}
.push {
position:relative;
height: 100px;
width: 100%;
}
#tabsH {
position:absolute;
float:left;
left:200px;
top:247px;
width:100%;
font-size: 14px;
line-height:normal;
text-align:center;
}
#tabsH ul {
margin:0;
margin-left: 0px;
padding: 0px;
list-style:none;
}
#tabsH li {
display:inline;
margin:0;
margin-left: 0px;
padding:0;
}
#tabsH a {
float:left;
background:url("/images/tableftH.gif") no-repeat left top;
top:213px;
width:160px;
margin:0;
margin-right:8px;
padding:0 0 0 4px;
text-decoration:none;
}
#tabsH a span {
float:left;
display:block;
background:url("/images/tabrightH.gif") no-repeat right top;
padding:5px 15px 4px 6px;
color:#FFF;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#tabsH a span {float:none;}
/* End IE5-Mac hack */
#tabsH a:hover span {
color:#FFF;
}
#tabsH a:hover {
background-position:0% -42px;
}
#tabsH a:hover span {
background-position:100% -42px;
}
#tabsH #current a {
background-position:0% -42px;
}
#tabsH #current a span {
background-position:100% -42px;
}
a {
color: #0066FF;
}
.h1 {
font-size: 14px;
}
.body {
background-image: url('/images/backgroundnovember.png');
background-repeat: no-repeat;
overflow-x:hidden;
overflow-y:auto;
z-index: 1;
}
.content {
margin-left: 200px;
margin-right: 200px;
margin-top: 300px;
}
.lowercontent {
margin-left: 200px;
margin-right: 200px;
margin-top: 38%;
}
.largeimage {
height: 431px;
float: left;
padding-right: 35px;
}
.inquiretable {
border-style: double;
border-width: 8px;
border-color:black;
}
.seograph {
position: absolute;
left: 208px;
top: 300px;
border-style: inset;
border-width: 8px;
border-color: #41627E;
}
.indexslide {
margin-left: 200px;
border-style: inset;
border-width: 8px;
border-color: #41627E;
}
.logo {
position: absolute;
background:url("/images/Logo.png");
left: 69px;
background-repeat: no-repeat;
top: 10px;
z-index: 2;
}
#largeImg {
border: solid 1px #ccc;
width: 550px;
height: 400px;
padding: 5px;
}
.thumbs img {
border: solid 1px #ccc;
width: 100px;
height: 100px;
padding: 4px;
}
</style>
[edited by: alt131 at 4:01 am (utc) on Nov 8, 2011]
[edit reason] Thread Tidy - Examplifying [/edit]