Min-height for Internet Explorer

© Stu Nicholls - works almost everywere as i know

stáhnout snippet
zobrazení: SyntaxHighlighter | GeSHi | Holý text
/* Opera, Firefox, Netscape, Safari ... */
.container {
  min-height:8em; 
  height:auto !important;
}

/* Internet Explorer will ignore min-height and is just given a height of 8em. The IE bug automatically expands the container to fit the extra text. */
* html .container {
  height: 8em;
}


Tagy:
css 11 řádků | 2008-03-13 23:26:59 | asimov