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
Two column fluid height design
Old 07-13-2006, 11:47 AM Two column fluid height design
Novice Talker

Posts: 6
Trades: 0
I've been looking around for some css that lets me make a two column layout. I'm an amature designer, and the problem I'm finding is that the columns are never the same height... I can make columns, but the left one needs to be the same height as the right one when content changes. (there is a bg image on both columns) I may be overlooking something very simple...
kevsterb007 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-13-2006, 12:36 PM Re: Two column fluid height design
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
One method to achieve this is called "faux columns" - several techniques are listed here:
http://css-discuss.incutio.com/?page=AnyColumnLongest
__________________
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
 
Old 07-13-2006, 07:43 PM Re: Two column fluid height design
kIDJOE's Avatar
Extreme Talker

Posts: 186
Location: Hollywood, CA
Trades: 0
ok after following LadynRed link (super useful!) I would suggest, you use a container DIV for both (or more) columns or DIV's and set their height to a large number, then add the OVERFLOW:HIDDEN to your container.
__________________

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

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

kIDJOE is offline
Reply With Quote
View Public Profile Visit kIDJOE's homepage!
 
Old 07-14-2006, 01:47 PM Re: Two column fluid height design
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Ahhh.. but you need to be careful with that because Opera has some bugs associated with that.

You really don't need to do that anyway. If you want your columns to appear the same length no matter how much content, then the columns only need to be as long as the content anyway.
__________________
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
 
Old 07-14-2006, 05:07 PM Re: Two column fluid height design
kIDJOE's Avatar
Extreme Talker

Posts: 186
Location: Hollywood, CA
Trades: 0
if your columns are as long as your content how can you make sure they are the same height if the content is different from one column to another?
__________________

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

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

kIDJOE is offline
Reply With Quote
View Public Profile Visit kIDJOE's homepage!
 
Old 07-14-2006, 05:39 PM Re: Two column fluid height design
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
That is why the 'faux columns' method works so well. The actual content of the columns may NOT be the same, but the fake columnar background makes it LOOK like they are equal.

Outside of newspapers and magazines, it's rare you see totally equal-length columns of content.
__________________
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
 
Old 07-14-2006, 05:46 PM Re: Two column fluid height design
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
I'm not sure if this is the same as the faux columns method, but what I've been doing is to wrap both columns in a container column and set the background of the container column to match the background of whichever column is shorter. And that assumes the shorter column is always the shorter column on every page.

Might not work for all cases, but it's worked for what I've needed to this point.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 07-14-2006, 09:06 PM Re: Two column fluid height design
kIDJOE's Avatar
Extreme Talker

Posts: 186
Location: Hollywood, CA
Trades: 0
Im just happy with the overflown hidden, I think with clip:rect you can solve the Opera issue, I havent tried though I dont need to do columns exact same height right now but you may wanna try
__________________

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

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

kIDJOE is offline
Reply With Quote
View Public Profile Visit kIDJOE's homepage!
 
Reply     « Reply to Two column fluid height design
 

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 1.60592 seconds with 12 queries