Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Tjk
    Tjk is offline
    New Coder
    Join Date
    Aug 2005
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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?

  • #2
    Senior Coder
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    2,636
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.
    Last edited by mark87; 12-29-2005 at 12:40 PM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •