| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| DesignersTalk > I can't figure out how to get the columns equal in height |
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
Web Developer
|
I can't figure out how to get the columns equal in height
I used to know this, but I can't remember how I did it again. How would I get #sidebar and #maincnt to stay equal no matter how much content is in em? I am using footerStickAlt to 'stick' the footer to the bottom if that matters any. Well, here's the screen of it. |
|
|
|
|
|
#2 (permalink) |
|
I have a computer
|
Here's a few ways: Equal Height Columns using CSS - Ed Eliot |
|
|
|
#3 (permalink) |
|
cuttin' and stickin'
Join Date: Jan 2008
Location: Bournemouth, currently.
Posts: 154
|
Make a div, call it whatever, and stick it (in the HTML) after the two divs you're having trouble with. Assign the CSS "clear: both" to the "whatever" div and providing you've floated the divs in question (but not this one), all should line up. You may also need to create a repeating background that you assign to your container div (ie a div that holds everything else inside it, that you can determine your overall width with, etc.) to create the illusion that there is in fact two full-length columns. |
|
|
|
#5 (permalink) | |
|
I have a computer
|
Quote:
Oh, haha so you did have a wrapper div with a background image? That is how I usually do it but I couldn't see your code so I gave you some other options. Glad you figured it out. |
|
|
|
|
#6 (permalink) |
|
Web Developer
|
I got one part of it fixed, then I realized, hey why not put an entire background image in the body tag. It's fixed and working now. I'm just about done and I'll post it up here for reviews. I think it's an ok design so far, and the horrible attempt at a header turned out quite nice I think. |
|
![]() |