![]() |
|
|||||||
| Notices |
| CSS Forum Cascading Style Sheets (CSS) and XHTML Forum |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Alright well I have been working on getting this footer to appear either at the bottom of the browser window or the bottom of the Web page content – whichever is visually lowest just like it is found on here.
So I went through the entire thing, cleaned up my CSS and tried to get everything to work, but the footer just floats at the bottom of the browser window, but when the content goes beyond the window it just stays in that same position. I hope it is just something simple I am glossing over, but any help would be appreciated. Cheers. I have uploaded it, so that you can see the live design. Main Page CSS |
|
|
|
||||
|
Try adding
Code:
clear:both;
__________________
Standards Compliant Web Consulting and Development | Labs - Free Snippets and Codes | CSS Wizardry |
|
||||
|
Well that's my footer CSS:
Code:
#footer{
clear:both;
padding-top:2px;
height:225px;
color:#FFFFFF;
background-color:#111111;
background:url(images/footerbglrg.gif);
border-top:5px solid #0099ff;
color:#FFFFFF;
font-family:"trebuchet ms", Verdana, Arial, Helvetica, sans-serif;
font-size:smaller;
}
__________________
Standards Compliant Web Consulting and Development | Labs - Free Snippets and Codes | CSS Wizardry |
|
||||
|
Happy to help :)
__________________
Standards Compliant Web Consulting and Development | Labs - Free Snippets and Codes | CSS Wizardry |
|
||||
|
i tried some of the suggestions and it works for the most part, but when i leave the margin-top commented out (thinking that may be the problem), the footer sits just below the page (both in IE and firefox), but if I uncomment it, it just goes back up to the higher position in IE and is perfect in firefox...
This is how it is now (good in firefox, but not perfect in IE): Code:
#footer{
margin-top: -3.65em;
margin-bottom:0px !important;
clear:both;
padding-top:2px;
height:45px;
color:#FFFFFF;
background: #0055a5 url(images/footer.gif) repeat-x;
}
|
|
||||
|
I've just noticed that in FF the footer text isn't selectable, nor can you right click>view background image. It bet the problem is linked to this...
__________________
Standards Compliant Web Consulting and Development | Labs - Free Snippets and Codes | CSS Wizardry |
![]() |
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Licences to add in footer | macca11 | General Web Design Forum | 0 | 20-04-2008 10:24 PM |
| align footer bottm? | philjohns | CSS Forum | 24 | 31-01-2008 09:21 PM |
| IE7, dynamic content and misplaced footer | the_bee | Graphic Design and Web Design Help | 0 | 22-12-2007 03:52 PM |
| How to get my footer to stretch | ...Gav | CSS Forum | 6 | 16-12-2007 11:56 PM |
| 35 website footer designs, trends and styles | Graphic Design Links | Graphic Design Links | 0 | 25-10-2007 07:50 PM |
| All times are GMT. The time now is 05:38 PM. |