When using ordered lists, the numbers drop to the bottom in IE7.
Add vertical-align:top; to li elements that are within an ordered list.
ol li {vertical-align:top; }
Text ID: LIST_NUMBERS_ALIGN_AT_BOTTOM_IN_IE7
To add a comment, please Log in.
Ordered lists in Internet Explorer 7
by Martin C. Bean on May 11, 2007
I've also noticed that ordered lists in Internet Explorer 7 seem to just have the number "1" for each list item instead of going up in number sequentially like normal. Anyone able to shed some light on this?
Helpful, with a catch
by CharlesBelov on May 4, 2007
Actually, this problem occurs with unordered lists as well. So
li {vertical-align:top; }
is even better. Thanks!
However, if line-height is set greater than 1em, say 1.25em, the dot appears higher than the text. I'm not sure what to do about that. It's still better than the dot or number rendering at the bottom.
I could not reproduce the error
by danielarce on December 28, 2006
Can you post some code that shows this in IE7? I could not reproduce it.
Daniel