Hi guys.Im new to CSS and having a problem with my footer at the moment basically when I insert content past the footer it doesnt expand to suit as it is absolutely position.
I looked up other posts on the situation and tried to apply a sticky footer but as I understand I have problems because the rest of the site is absolutely positioned and the footer goes straight to the top of the page.
But if I remove all or some of the positioning the footer(.ts-1-27) sticks but the page falls apart. I just dont understand this at all yet.
How can I fix this and can I get some insight into how it works or doesnt work in my case.
Thanks for the help.
Sorry for posting about footers as I can see its been discussed often.
Link to page and html source http://hyperaustralia.terryscarr.com/template2.html
and css layout. (footer is .ts-1-27)
Code:
@charset "utf-8";
/* CSS Document */
.ts-1 {
height: 660px;
text-align: left;
width: 801px;
outline-style: solid;
outline-width: 1px;
outline-color: #000000;
}
.ts-1-1 {
border: none;
height: 20px;
left: 0px;
padding: 0px;
top: 0px;
width: 800px;
position: relative;
}
.ts-1-3 {
background: url(images/Header.jpg) no-repeat left center;
border: none;
height: 127px;
left: 0px;
line-height: 127px;
padding: 0px;
top: 20px;
width: 800px;
}
.ts-1-5 {
border: none;
height: 27px;
left: 0px;
padding: 0px;
position: absolute;
top: 142px;
width: 581px;
padding-left: 25px;
}
.ts-1-6 {
background: url(images/hand-right.jpg) no-repeat left center;
border: none;
height: 27px;
left: 581px;
line-height: 27px;
padding: 0px;
position: absolute;
top: 147px;
width: 55px;
}
.ts-1-7 {
background: url(images/col-right2.jpg) no-repeat left center;
border: none;
height: 149px;
left: 636px;
line-height: 149px;
padding: 0px;
position: absolute;
top: 147px;
width: 14px;
}
.ts-1-8 {
background: url(images/col-right1.jpg) no-repeat left center;
border: none;
height: 130px;
left: 650px;
line-height: 130px;
padding: 0px;
position: absolute;
top: 147px;
width: 150px;
}
.ts-1-10 {
border: none;
height: 401px;
left: 0px;
overflow: hidden;
padding: 0px;
position: absolute;
top: 169px;
width: 40px;
}
.ts-1-11 {
border: none;
height: 401px;
left: 0px;
padding: 0px;
position: absolute;
top: 169px;
width: 596px;
padding-left: 40px;
}
.ts-1-13 {
border: none;
height: 38px;
left: 650px;
line-height: 38px;
padding: 0px;
position: absolute;
top: 272px;
width: 150px;
}
.ts-1-15 {
border: none;
height: 279px;
left: 636px;
line-height: 279px;
padding: 0px;
position: absolute;
top: 291px;
width: 14px;
}
.ts-1-17 {
background: url(images/col-right.jpg) no-repeat left center;
border: none;
height: 9px;
left: 650px;
line-height: 9px;
padding: 0px;
position: absolute;
top: 310px;
width: 150px;
}
.ts-1-19 {
border: none;
height: 69px;
left: 650px;
line-height: 69px;
padding: 0px;
position: absolute;
top: 319px;
width: 150px;
}
.ts-1-21 {
background: url(images/col-right-09.jpg) no-repeat left center;
border: none;
height: 11px;
left: 650px;
line-height: 11px;
padding: 0px;
position: absolute;
top: 388px;
width: 150px;
}
.ts-1-23 {
border: none;
height: 40px;
left: 650px;
line-height: 40px;
padding: 0px;
position: absolute;
top: 399px;
width: 150px;
}
.ts-1-25 {
border: none;
height: 131px;
left: 650px;
line-height: 131px;
padding: 0px;
position: absolute;
top: 439px;
width: 150px;
}
.ts-1-27 {
border: none;
height: 89px;
left: 0px;
padding: 0px;
width: 800px;
position: absolute;
top: 570px;
}
|