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 12-29-2005, 12:19 PM   PM User | #1
Tjk
New Coder

 
Join Date: Aug 2005
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Tjk is an unknown quantity at this point
Setting Min Height with CSS

In my page I have it split into 2 boxes (using CSS divs). However if one box is bigger than the other then the other does not adjust to the same height as the other. How can I get them both to be the same height at all times?

Also, Can I also set a minimum height they must be at all times?
Tjk is offline   Reply With Quote
Old 12-29-2005, 12:37 PM   PM User | #2
mark87
Senior Coder

 
Join Date: Dec 2004
Location: Essex, UK
Posts: 2,636
Thanks: 0
Thanked 0 Times in 0 Posts
mark87 is on a distinguished road
Are the Div's side-by-side - so you want them to appear as columns?

Two methods really; use Faux Columns, or use Javascript.

As for minimum height (min-height), I think most browsers support it, apart from IE. There is a hack though.
__________________
markaylward.co.uk

Last edited by mark87; 12-29-2005 at 12:40 PM..
mark87 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:22 PM.


Advertisement
Log in to turn off these ads.