john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

css dropdown menu ie fix

http://www.alistapart.com/articles/horizdropdowns/

/* Fix IE. Hide from IE Mac \*/
* html ul li { float: left; }
* html ul li a { height: 1%; }
/* End */

We can apply the Holly Hack above, which hides these rules from all browsers but IE the height: 1% rule that has also been added as the float fix uncovers another IE bug, which requires a height value to make the links display as block-level elements.


  • « index file listing 2007
  • contact email form »

Published

Feb 6, 2010

Category

css

~65 words

Tags

  • css 19
  • dropdown 1
  • fix 8
  • ie 2
  • menu 9