Welcome to WebmasterWorld Guest from 34.228.115.216

Forum Moderators: not2easy

Message Too Old, No Replies

Trouble with bottom footer

new to css

     
1:41 am on Jul 23, 2008 (gmt 0)

New User

10+ Year Member

joined:July 8, 2008
posts: 7
votes: 0


I am having problems with the bottom of my page. I want the footer to stay at a fixed height without it changing in size if
, I change the content in the middle. Does that make sense? Thanks Bill

#footer {
width: 770px;
clear: right;
background-color: #8ED8F8;
font-size: 70%;
text-align: right;
margin-top: 20px;
}

2:57 am on July 23, 2008 (gmt 0)

Preferred Member

10+ Year Member

joined:Feb 28, 2005
posts: 646
votes: 0


Hi chillbill,

You'll have to set a fixed height and stop anything from overflowing:

#footer {
height: 50px;
overflow: hidden;
... rest of your code
}

It's not a great idea purely from a flexibility point of view, but that's how you do it.

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members