CSS Fluid 100% Problem

  • Frostbyt3
  • Graduate
  • Graduate
  • User avatar
  • Joined: Jun 06, 2004
  • Posts: 210
  • Loc: Corpus Christi, TX
  • Status: Offline

Post May 21st, 2009, 5:37 pm

Trying to get this CSS Layout working that I just made.

Problem is the two divs I have that hold the left menu and the content on the right are set to stretch to 100% BUT they don't stretch...well...they DO stretch but they stretch 100% of the BROWSERS viewable area.

Im not sure if I explained that well enough but if 100% of the body is 600px high it will stretch it to 600px instead of 550 (assuming 50px of the space has been taken).
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post May 21st, 2009, 5:37 pm

  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post May 21st, 2009, 6:30 pm

I understand what you are saying...


Try something like 25% for the left menu and 75% for the content or whateve rpercentages you need... that could be too big for the left menu...
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • Frostbyt3
  • Graduate
  • Graduate
  • User avatar
  • Joined: Jun 06, 2004
  • Posts: 210
  • Loc: Corpus Christi, TX
  • Status: Offline

Post May 21st, 2009, 7:39 pm

okay, what about the footer? I can't get it to goto the very bottom..it just sits behind the leftmenu and content at the top
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post May 21st, 2009, 7:56 pm

Try clear: both; property in your CSS.
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • Frostbyt3
  • Graduate
  • Graduate
  • User avatar
  • Joined: Jun 06, 2004
  • Posts: 210
  • Loc: Corpus Christi, TX
  • Status: Offline

Post May 21st, 2009, 8:42 pm

That seems to work thanks.

What exactly does clear:both; do?
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post May 21st, 2009, 9:17 pm

It clears the floats.
"Bring forth therefore fruits meet for repentance:" Matthew 3:8

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: No registered users and 77 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.