Advanced Web Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignAdvanced Web Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old March 21st, 2006, 09:52 AM
Spongy's Avatar
Spongy Spongy is offline
Alternately High
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Hilversum, Netherlands
Posts: 223 Spongy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 h 56 m 41 sec
Reputation Power: 5
Send a message via MSN to Spongy
Stretch columns to get equal height [CSS]

Hello!

If you look at my new design (http://www.spongy.nl/v2/test.php), you'll notice the difference in height between the three columns. I want them to have an equal height, but every attempt fails. Does one have an idea for this?

Thanks in advance!
Cheers,

Spongy
__________________
Work to live, don't live to work

Last edited by Spongy : March 21st, 2006 at 09:54 AM.

Reply With Quote
  #2  
Old March 21st, 2006, 11:33 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 14 m 9 sec
Reputation Power: 8
I believe CSS has a min-height property... but it's not implemented in all browsers.

The common trick for multiple columns might not help you, as you have static background images. And the duck looks scary =)
__________________
Daryl's Homepage | My Blogroll | My Profile | Firefox supporter!
DevArticles Forum Moderator

"The net is a waste of time, and that's exactly what's right about it." -- William Gibson

Reply With Quote
  #3  
Old March 21st, 2006, 12:07 PM
Spongy's Avatar
Spongy Spongy is offline
Alternately High
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Hilversum, Netherlands
Posts: 223 Spongy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 h 56 m 41 sec
Reputation Power: 5
Send a message via MSN to Spongy
Setting min-height doesn't do it. When one column stretches, the other ones will not follow...

Reply With Quote
  #4  
Old March 23rd, 2006, 11:01 AM
icantthinkofone icantthinkofone is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Posts: 1 icantthinkofone User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 m 34 sec
Reputation Power: 0
You may need to "clear floats". Google for that.

Reply With Quote
  #5  
Old March 24th, 2006, 06:48 AM
Spongy's Avatar
Spongy Spongy is offline
Alternately High
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Hilversum, Netherlands
Posts: 223 Spongy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 h 56 m 41 sec
Reputation Power: 5
Send a message via MSN to Spongy
Now did the trick with JS, but if someone knows a more elegant solution please let me know!

Thanks for the help.

Cheers,

Spongy

Reply With Quote
  #6  
Old March 24th, 2006, 05:30 PM
Kravvitz Kravvitz is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2005
Location: USA
Posts: 134 Kravvitz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 h 38 m 30 sec
Reputation Power: 4

Reply With Quote
  #7  
Old March 29th, 2006, 03:39 AM
Spongy's Avatar
Spongy Spongy is offline
Alternately High
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Hilversum, Netherlands
Posts: 223 Spongy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 h 56 m 41 sec
Reputation Power: 5
Send a message via MSN to Spongy
Hmm, I used the first on my last layout (http://spongy.nl), but with this layout it can not work unfortunately. Tried the second link you provided, which gave me the expected results, but... The columns lost their border at the bottom. Is there a workaround for this?

Cheers,

Spongy

Reply With Quote
  #8  
Old March 29th, 2006, 07:52 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 14 m 9 sec
Reputation Power: 8
Hey Spongy. I'm not sure i'm seeing it the same way you are... I see borders on the bottom of each column.
Unrelated, my two cents, I find the column on the right side hard to read. The colour's too light.

Also, I noticed in IE... you see the glitch between uneven columns and then setting them all the same height... not too much you can do about that, it's just the half-second while your JS loads.

Reply With Quote
  #9  
Old April 2nd, 2006, 02:27 PM
Spongy's Avatar
Spongy Spongy is offline
Alternately High
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Hilversum, Netherlands
Posts: 223 Spongy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 h 56 m 41 sec
Reputation Power: 5
Send a message via MSN to Spongy
Yeah, 'bout the colors... I'm not sure I'll keep it that way. The text shouldn't be to eye-catching either, because it's nothing primary. Just a bunch of headlines. But yes, it is a bit too light.

The borders... When I delete my JS and use the CSS-trick of the 2nd link, then the bottom-borders disappear. What you see now is the JS, no CSS thingy.

Thanks for the replies though, I think there's nothing to it then. I will concentrate on the functional things on the page and worry about the design again at another time.

But, when there ís a workaround: please put it here anyway! You will not know how thankful I am when you have a solution.

Cheers for now,

Spongy

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignAdvanced Web Development > Stretch columns to get equal height [CSS]


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT