Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-03-2007, 02:05 AM   PM User | #1
awsomejoe23
Regular Coder

 
Join Date: Apr 2007
Location: U.S.A
Posts: 129
Thanks: 1
Thanked 0 Times in 0 Posts
awsomejoe23 is an unknown quantity at this point
2 divs always same height

Hey guys I have three different divs that will be flush up against each other floating left. Is their any way that I can get div 2 and 3 to be the same height as div 1 no matter how much content I put in, without using height. I want it to be to where all you have to do is type the content, and all three divs adjust to the height of the biggest one.

Thanks,

Joe
P.S. I am really trying to stay away from tables, due to all the bad things I have heard about them. Would this be a good case to use tables though?

Last edited by awsomejoe23; 06-03-2007 at 02:10 AM..
awsomejoe23 is offline   Reply With Quote
Old 06-03-2007, 02:40 AM   PM User | #2
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
What type of layout is it? Is it a fixed width layout or a fluid layout? Either way you will have to use the faux columns technique.
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
_Aerospace_Eng_ is offline   Reply With Quote
Old 06-03-2007, 03:09 AM   PM User | #3
awsomejoe23
Regular Coder

 
Join Date: Apr 2007
Location: U.S.A
Posts: 129
Thanks: 1
Thanked 0 Times in 0 Posts
awsomejoe23 is an unknown quantity at this point
I'm using floats, but from what I see thats to make both divs the full length of the page. I want to make the two divs to stay the same even if they are only about a hundred pixels in height do to the amount of text.
Example: Your box is the same as the one height as the one next to it, even though that it has more text than the one next to it. Is there a way I can use the fluax method for this in divs?

thanks again,

Joe

Last edited by awsomejoe23; 06-03-2007 at 03:13 AM..
awsomejoe23 is offline   Reply With Quote
Old 06-03-2007, 03:16 AM   PM User | #4
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
Its not to make them the full length of the page. The gist of that effect is you use a repeating background image on the container to make the left column appear the same height as the content.
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
_Aerospace_Eng_ is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:28 PM.


Advertisement
Log in to turn off these ads.