Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Footer will not clear other divs
Old 09-12-2008, 04:16 AM Footer will not clear other divs
Junior Talker

Posts: 2
Name: Stefanie
Trades: 0
See example here: http://focusorganic.com/about/?theme...al/organictest

Notice how the footer is not at the bottom of the page, as it is supposed to be (for an example: http://focusorganic.com/?theme=Focus...al/organictest )

The css file for this page can be seen here:
http://focusorganic.com/wp-content/t...t/stylecss.php
(and please, no making fun of me because its messy!)

Any idea what is going on?
braiiins is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-12-2008, 06:41 AM Re: Footer will not clear other divs
Novice Talker

Posts: 7
Name: John Davidson
Location: Edinburgh
Trades: 0
Its to do with you giving the sidewrap div an absolute position. Clearing doesn't work to well with absolute positioning. Better off to keep it relative. You've got the sideads and the sidewrap in seperate divs, but you could have one div to surround them both and float that left of the main content. Then your footer will clear
__________________

Please login or register to view this content. Registration is FREE
- Online Directory Software, Online Booking Software

Please login or register to view this content. Registration is FREE
- UK Tourist Attractions
john_logic is offline
Reply With Quote
View Public Profile Visit john_logic's homepage!
 
Old 09-12-2008, 01:17 PM Re: Footer will not clear other divs
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Agreed, float the side bar stuff, clear the float in the footer (set clear:both on it) and the footer should go where it belongs. There's no good reason that you need to use position absolute for that layout.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 09-12-2008, 09:17 PM Re: Footer will not clear other divs
Junior Talker

Posts: 2
Name: Stefanie
Trades: 0
I thought of that, too, and it worked to clear the footer, but then the sidebars were shoved all the way to the bottom.

I ended up undoing a whole lot of the css file, up to when the footer was still positioned properly, and reworking the rest of the file to get everything else right (and ending up with the sidebar wrap relative positioned). As far as I can tell, everything is good!
braiiins is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Footer will not clear other divs
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.07749 seconds with 12 queries