Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSS Bottom

Status
Not open for further replies.

napoleao

IS-IT--Management
Feb 20, 2002
172
PT
I am facing a problem doing a website, I am newbie with CSS, so dont know what I maybe doing wrong. Basically I have a bottom section that displays a picture, but everytime my main content area as a lot of text I end up having the bottom picture in front of the text instead of everytime the page has mroe height the picture appears after the end of the text.

#bottom {
height:40px;
color:#FFFFFF;
min-height:40px;
background: url(../imagens/bkg_bottom.gif) 0 100% repeat-x;
padding-top: 324px;
text-align:center

Anyone know how to solve this?
 
The code you gave us is not enough. You should give us a link (preferably) to the page or at least the html for the elements before #bottom and their parents and the css for all the respective elements.

Based on what I have, the only thing I can suggest is to add [tt]clear: both;[/tt] to your #bottom. Maybe it will help.
 
Hmm ... not much to go on here. But try

Code:
margin : 0 auto 0 auto;

You should also know that the min-height property is not supported by IE.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top