
IE nested list item whitespace solution: vertical-align:bottom
I have been struggling for a bit now to get a nested list item menu to display correctly in IE. Specifically when using the strict doctype. My menu would show fine in FF and Netscape, but in IE there would be whitespace below some of my nested list items.
For a while I thought I was dealing with the haslayout bug. And in fact I am sure that there were a couple issues fixed by applying zoom: 1 to my items and links. However I still had some mysterious whitespace show up around my nested items. I was about to give up and get rid of my doctype (ack!).
The fix, it turns out, is vertical-align:bottom.
ul, li, li a { vertical-align:bottom;}
No clue why that happens. As far as I can tell the vertical-align does not trigger layout, so it isn't actually related to the haslayout bug.
There are a couple other sites I can find that make mention of using it to remove some whitespace. Is it padding? Is it Margin? Whatever, at least it is resolved and I can move on to actual productive coding.

NAVIGATION
HomeAbout Me
RSS
Search
Subscribe
Recent Entries
Inception Plot QuestionsRandom Chuck Norris Fact Generator With A Twist
Virtual Currency for Buses
Applying ColdFusion Security Patches Gotcha
Privacy, Walled Gardens, Standards and Our Future
Recent Comments
KTML File Uploads Hang in IE7 with Flash 10 and How to Fix
Eric said: Thanks much
[More]
Inception Plot Questions
hohack said: @ switchkosterice 5 comments, those kids are from when mal is alive still
[More]
Inception Plot Questions
Ira said: Just saw it a 2nd time. Do so, and pay extremely close attention to two details throughout the film:...
[More]
Inception Plot Questions
said:
[More]
Inception Plot Questions
switchkosterice said: The kids at the end actually have aged. In fact, they're an entirely different (and older) set of ac...
[More]
Calendar
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Archives By Subject
blogs (31) [RSS]books (4) [RSS]
Crazy (39) [RSS]
DIY (8) [RSS]
Flex (3) [RSS]
games (10) [RSS]
GRRR (13) [RSS]
Ideas (11) [RSS]
Local (14) [RSS]
LOLpics (2) [RSS]
money (9) [RSS]
music (3) [RSS]
Personal (27) [RSS]
Photos (8) [RSS]
Politics (8) [RSS]
Projects (22) [RSS]
Review (19) [RSS]
RPM (9) [RSS]
Spam (16) [RSS]
Technology (68) [RSS]
Testing (3) [RSS]
TV (15) [RSS]
video (32) [RSS]
Web Dev (224) [RSS]
World of Warcraft (16) [RSS]

I was trying few hours to find a solution, that works for the idiots who are developing IE.
When my CMS start, i'll put a link to this place to say Thanks!