Reply LinkBack Thread Tools Search this Thread
Old 31-01-2008, 15:27   #1 (permalink)
Bryce
Web Developer
 
Join Date: Jan 2008
Location: Raleigh, NC
Posts: 84
Send a message via AIM to Bryce
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.
Attached Thumbnails
i-cant-figure-out-how-get-columns-equal-height-screen.png  
  Reply With Quote
Old 31-01-2008, 15:44   #2 (permalink)
chriskalani
I have a computer
 
chriskalani's Avatar
 
Join Date: Nov 2006
Location: Washington
Posts: 98
Send a message via AIM to chriskalani Send a message via Skype™ to chriskalani
  Reply With Quote
Old 31-01-2008, 17:11   #3 (permalink)
jamblo
cuttin' and stickin'
 
jamblo's Avatar
 
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.
  Reply With Quote
Old 31-01-2008, 18:16   #4 (permalink)
Bryce
Web Developer
 
Join Date: Jan 2008
Location: Raleigh, NC
Posts: 84
Send a message via AIM to Bryce
EDIT: nevermind, it was a stupid mistake. i forgot the ../ in front XD.
  Reply With Quote
Old 31-01-2008, 19:14   #5 (permalink)
chriskalani
I have a computer
 
chriskalani's Avatar
 
Join Date: Nov 2006
Location: Washington
Posts: 98
Send a message via AIM to chriskalani Send a message via Skype™ to chriskalani
Quote:
Originally Posted by Bryce
EDIT: nevermind, it was a stupid mistake. i forgot the ../ in front XD.

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.
  Reply With Quote
Old 31-01-2008, 20:23   #6 (permalink)
Bryce
Web Developer
 
Join Date: Jan 2008
Location: Raleigh, NC
Posts: 84
Send a message via AIM to Bryce
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.
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8