Need help with footer bar

  • paul_l81
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Jul 15, 2005
  • Posts: 41
  • Status: Offline

Post June 30th, 2008, 1:43 pm

Hi,

I'm just wondering if anyone would know what the problem is with a footer bar that I have on the following page...

http://www.paul-lee.co.uk/guestbook/

With IE7 and FF3, the blue footer bar sits in the middle of the screen. But on IE6 it is fine!

I suspect its something to do with me using CSS floats on the footer, but on other pages it appears fine! I have tried using the CSS clear property and it doesnt make a difference.

This is the css of the footer bar:


#footerbox {
float:left;
clear: both;
width: 950px;
height: 15px;
background-color: #6699cc;
margin-left: auto;
margin-right: auto;
}

Any ideas?

Cheers.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post June 30th, 2008, 1:43 pm

  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Joined: Mar 12, 2007
  • Posts: 6228
  • Loc: South-Africa
  • Status: Offline

Post June 30th, 2008, 11:12 pm

One thing I'd suggest before we try and sort out this problem is for you to quickly fix the validation errors ... many a time fixing those errors will fix something that isn't working correctly ...
Let's leave all our *plum* where it is and go live in the jungle ...
  • emedia
  • Novice
  • Novice
  • User avatar
  • Joined: Jun 27, 2008
  • Posts: 23
  • Loc: India
  • Status: Offline

Post July 1st, 2008, 1:08 am

Try by take out the line "float:left;"
  • HongKongPhooey
  • Student
  • Student
  • User avatar
  • Joined: Sep 01, 2004
  • Posts: 86
  • Loc: Liverpool
  • Status: Offline

Post July 1st, 2008, 3:27 am

It's because you've restrained the content to 400px height. You either need to remove the height: 400px declarations, and allow the content to expand down the page, taking the footer with it, or restrain the guestbook content to 400px and only have a couple of guestbook entries per page.

#rightcontentpane & #leftcontentpane both have "height: 400px;" declared. Removing these allows the page to free-flow downwards.
  • paul_l81
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Jul 15, 2005
  • Posts: 41
  • Status: Offline

Post July 4th, 2008, 6:44 am

righteous_trespasser,
42 errors! Wow... I used to have a link to the css validator on my old site... totally forgot about this useful tool! Cheers.

HongKongPhooey,
I read somewhere it could be to do with defining a height property. I totally neglected the left navigation bar! I was concentraining on the main content area of the page. I will take a look at this tonight and let you guys know. Thanks mate.
  • paul_l81
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Jul 15, 2005
  • Posts: 41
  • Status: Offline

Post July 4th, 2008, 6:45 am

righteous_trespasser,
42 errors! Wow... I used to have a link to the css validator on my old site... totally forgot about this useful tool! Cheers.

HongKongPhooey,
I read somewhere it could be to do with defining a height property. I totally neglected the left navigation bar! I was concentraining on the main content area of the page. I will take a look at this tonight and let you guys know. Thanks mate.
  • paul_l81
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Jul 15, 2005
  • Posts: 41
  • Status: Offline

Post July 4th, 2008, 5:57 pm

Thanks for that HongKongPhooey.

I removed the height entry from the main content div and kept it on my left nav bar div and it seems to have sorted it! :)

Post Information

  • Total Posts in this topic: 7 posts
  • Users browsing this forum: No registered users and 138 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.