Having problem with the Height attribute in IE vs Firefox...

Discussion in 'CSS' started by starke, Sep 2, 2006.

  1. #1
    I'm launching my first site, and I'm having problems with the height attribute and how it is interpreted between Firefox and IE...

    Here's the details:
    I have to seperate panes, and I want them to be even when a minimal amount of data is entered.

    When a user enters more than the minimum data, I'd like the pane (pain :D ) to extend.

    The problem that I'm having is that the pane is not extending in Firefox, but does in IE.

    If I use the min-height attribute, the pane extend in IE & Firefox, but the min-height attribute does not seem to work with IE...

    Any thoughts on a work around...
    Thanks,
    Starke
     
    starke, Sep 2, 2006 IP
  2. starke

    starke Active Member

    Messages:
    228
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #2
    One last thing... as a hack, I've added a div with a width of 1px & a height of 500px (min height I'm going for) floated to the right side of the pane to overcome using the height property at all...

    Any other thought using the height tags or min-height tags... and the right order they should be in type of stuff
     
    starke, Sep 2, 2006 IP
  3. Mano70

    Mano70 Peon

    Messages:
    42
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I think I answered this two days ago also (another person though).

    Faux columns:
    http://alistapart.com/articles/fauxcolumns/

    Min-height does not work with IE, so you either use a separate CSS-file, or you use the star hack.

    #container {
    min-height: 100%;
    }
    * html #container {
    height: 100%;
    }
     
    Mano70, Sep 2, 2006 IP
  4. starke

    starke Active Member

    Messages:
    228
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #4
    Thanks Mano... I thought that I was going a little nuts with the trying to figure out the right combo for IE and FF...

    Article looks good...
    Starke
     
    starke, Sep 2, 2006 IP