NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page CSS template - make div's move down rather than overlap

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
5 members in live chat ~  


Reply
 
LinkBack Thread Tools
Old 11-08-2009, 12:11 PM THREAD STARTER               #1 (permalink)
TWM
Web Marketing Specialist
Join Date: Oct 2003
Location: Texas, USA
Posts: 1,335
TWM is a jewel in the roughTWM is a jewel in the roughTWM is a jewel in the rough
 



CSS template - make div's move down rather than overlap


When the center content area has too much text, it overlaps the footer and continues down the page. I would like to have it push the footer down and expand the two div's on the bottom left and bottom right.

Index page code index | Copy Paste Code

stylesheet: css | Copy Paste Code

Thank you very much! First full CSS template

EDIT:
Reading more on this, i think that absolute positioning might be messing everything up. And i shouldn't be using it anyways?
Last edited by TWM; 11-08-2009 at 12:18 PM.
TWM is offline   Reply With Quote
Old 11-08-2009, 01:16 PM   #2 (permalink)
NamePros Member
 
adamo's Avatar
Join Date: Aug 2008
Location: poland
Posts: 94
adamo is an unknown quantity at this point
 




Try changing instead top:1112px; bottom:0;
__________________
adamo is offline   Reply With Quote
Old 11-08-2009, 03:28 PM THREAD STARTER               #3 (permalink)
TWM
Web Marketing Specialist
Join Date: Oct 2003
Location: Texas, USA
Posts: 1,335
TWM is a jewel in the roughTWM is a jewel in the roughTWM is a jewel in the rough
 



That would translate to the bottom of the browser window... so if the page runs longer than the browser window shows (below the fold) then the footer would be in the middle of the website.
TWM is offline   Reply With Quote
Old 11-09-2009, 01:02 AM   #4 (permalink)
NamePros Member
 
adamo's Avatar
Join Date: Aug 2008
Location: poland
Posts: 94
adamo is an unknown quantity at this point
 




I think you need to look up floats. or in newer browsers display:table-cell and display:table;

What I see here is a standard 3 column layout (faux columns). But you need to be more specific what are you trying to achieve. From the template I guess you would have something like this here 3 Column CSS Layout - Fixed Header and Footer
The Perfect 3 Column Liquid Layout: No CSS hacks. SEO friendly. iPhone compatible.
__________________
adamo is offline   Reply With Quote
Old 11-09-2009, 10:41 PM   #5 (permalink)
NamePros Member
Join Date: Nov 2009
Location: Christchurch, New Zealand
Posts: 27
Mr Spy is an unknown quantity at this point
 




Probably best to steer clear away from absolute positioning unless you really have to. As adamo says, perhaps look up the theory of floats (is a lot more complex than most people think), but once you can grasp that - you'll be on the money
Mr Spy is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 02:32 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger