Table height messes up in IE7

Discussion in 'HTML & Website Design' started by sjaguar13, Aug 25, 2007.

  1. #1
    I have a site, www.Nonnys.com, that has a row for the tractor image and the menu spans down into the content area, too. When the content is shorter than the menu, the tractor image gets a 50% height, breaking the design. I had to go through and put extra br tags into the content to make sure the content is always longer. Is there something special I have to do in IE7 to keep that from happening?
     
    sjaguar13, Aug 25, 2007 IP
  2. dannytuppeny

    dannytuppeny Peon

    Messages:
    76
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    IE7 supports min-height, so rather than putting loads of BR tags, just put a min-height on the container:

    <div style="min-height: 500px;">this div will always be at least 500px high</div>
     
    dannytuppeny, Aug 26, 2007 IP