m00f
12-18-2009, 05:32 PM
Hi there,
I'm having a problem that is IE specific(only certain versions though) and I'm sure it's just a simple fix but I'm struggling to find the correct wording to find a solution with google.
The problem is on 'http://www.nottinghammaintenance.co.uk' - the footer keeps 'floating' infront of the main body, what I mean by that is it is just sticking itself in the middle of the screen or sometimes just overlapping the main body div. As I have said it seems to be only IE specific, Firefox, Safari and Chrome all seem to handle it fine.
Any help/advice would be greatly appreciated.
Tech details:
I am using:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
Css pertaining to the footer:
#footer {
clear:both;
height: 34px;
font-size:72%;
padding: 0;
background: #FFF url(../images/bgmain.jpg) repeat-y center;
position: relative;
margin-top: -100px; /* negative value of footer height */
height: 150px;
clear:both;
}
#footer .padding { padding: 10px 0px 0px 0px; }
#footer .right {
float:right;
clear:right;
text-align:right;
}
#footer a{
color:#FFFFFF;
}
#footer a:hover{
color:#333333;
}
#footer #popular_links {
background: url(../images/footer_bground.jpg);
background-position:center;
border: none;
width: 772px;
float:left;
clear:both;
padding: 10px 0 0 0;
margin: 0 0 0 7px;
position:relative;
}
#footer #popular_links .wrap {
height:1%;
margin:16px 0;
overflow:hidden;
}
#footer #popular_links dl {
border-left:1px solid #ddd;
display:inline;
float:left;
line-height:15px;
margin:0 -2px -400px;
padding-bottom:400px;
width:25%;
color:#ddd;
}
#footer #popular_links dt {
margin-bottom:4px;
padding:0 15px;
}
#footer #popular_links dd {
padding:0 10px 0px 0px;
line-height:15px;
}
link_footer {
padding: 0px 0px 0px 20px;
}
I'm having a problem that is IE specific(only certain versions though) and I'm sure it's just a simple fix but I'm struggling to find the correct wording to find a solution with google.
The problem is on 'http://www.nottinghammaintenance.co.uk' - the footer keeps 'floating' infront of the main body, what I mean by that is it is just sticking itself in the middle of the screen or sometimes just overlapping the main body div. As I have said it seems to be only IE specific, Firefox, Safari and Chrome all seem to handle it fine.
Any help/advice would be greatly appreciated.
Tech details:
I am using:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
Css pertaining to the footer:
#footer {
clear:both;
height: 34px;
font-size:72%;
padding: 0;
background: #FFF url(../images/bgmain.jpg) repeat-y center;
position: relative;
margin-top: -100px; /* negative value of footer height */
height: 150px;
clear:both;
}
#footer .padding { padding: 10px 0px 0px 0px; }
#footer .right {
float:right;
clear:right;
text-align:right;
}
#footer a{
color:#FFFFFF;
}
#footer a:hover{
color:#333333;
}
#footer #popular_links {
background: url(../images/footer_bground.jpg);
background-position:center;
border: none;
width: 772px;
float:left;
clear:both;
padding: 10px 0 0 0;
margin: 0 0 0 7px;
position:relative;
}
#footer #popular_links .wrap {
height:1%;
margin:16px 0;
overflow:hidden;
}
#footer #popular_links dl {
border-left:1px solid #ddd;
display:inline;
float:left;
line-height:15px;
margin:0 -2px -400px;
padding-bottom:400px;
width:25%;
color:#ddd;
}
#footer #popular_links dt {
margin-bottom:4px;
padding:0 15px;
}
#footer #popular_links dd {
padding:0 10px 0px 0px;
line-height:15px;
}
link_footer {
padding: 0px 0px 0px 20px;
}