Above, the LI elements (red) have display:inline set and inside them, A and EM elements (green) have display:block set. This causes a blank line to be put above each LI. The outer UL is blue. Only green should be seen.