Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Side bar, container issues. :(
Old 06-27-2009, 10:33 PM Side bar, container issues. :(
Junior Talker

Posts: 1
Name: Jake
Trades: 0
I am making a website where there is a div for a side bar, and a div for content. I want the div for content to be able to stretch dynamically (NO fixed heights)

The side bar needs to be able to stretch as well, but stretch WITH the content div.

Here is a drawing of what I want:
http://slashdrive.net/usr_files/40/yay.png

So i tried, to make it and spent hours on it. It is probably something really lame and stupid. But this is what it keeps doing:

http://slashdrive.net/usr_files/40/ugh.png

Please help!

=]
invisible2007 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-27-2009, 11:48 PM Re: Side bar, container issues. :(
GeekSpecialties's Avatar
Super Talker

Posts: 132
Name: Leonard
Location: Minnesota, USA
Trades: 0
Yes, columns will only be as high as the content that is contained in them without a fixed height. The work around is called faux column. Here are a couple of links to get you started on the theory behind them. Google faux column(s) and you will get many more results.
http://www.alistapart.com/articles/fauxcolumns/
http://www.code-sucks.com/css%20layo...x-css-layouts/
GeekSpecialties is offline
Reply With Quote
View Public Profile Visit GeekSpecialties's homepage!
 
Old 06-28-2009, 04:02 PM Re: Side bar, container issues. :(
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Quote:
I want the div for content to be able to stretch dynamically (NO fixed heights)
This is the DEFAULT, it will happen automatically!

Faux columns is the easiest way to go.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Side bar, container issues. :(
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.17402 seconds with 12 queries