NameSilo

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

Spaceship Spaceship
Watch

TWM

Web Marketing SpecialistEstablished Member
Impact
9
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:
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Try changing instead top:1112px; bottom:0;
 
0
•••
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.
 
0
•••
0
•••
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 :)
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99
Appraise.net

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back