CSS Overlapping Problem

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
User avatar
PatelNehal
Forum Newbie
Posts: 21
Joined: Mon Mar 23, 2009 7:27 am
Location: Gujarat, India

CSS Overlapping Problem

Post by PatelNehal »

Hello Friends, I have create a page in DIV tag completely. Upper part is Heading, Middle part is navigation and contents and bottom part contents footer. Now Content part handles the news and events which are generated by PHP code from fetching from the database. So my problem is that when ever the size of Content part increase it is overlapping my footer part so what should i do???

Code: Select all

#bodycontents {
    position:absolute;
    left:295px;
    top:457px;
    width:683px;
    height:359px;
    z-index:5;
}
#footercontents {
    position:absolute;
    left:10px;
    top:847px;
    width:977px;
    height:75px;
    z-index:7;
}
 
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: CSS Overlapping Problem

Post by pickle »

Google "footerStickAlt", & you'll find a technique for making sure you footer is always at the bottom of the page and below all content.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply