Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- Menu Spacing problem in IE/Win


createErrorMsg - 4:29 pm on Feb 8, 2006 (gmt 0)


shoves a massive gap between the menu items for some reason.

The reason is an IE browser bug, which is triggered by setting links to display block in an ordered or unordered list. The cure is simple enough. Just add display:inline; to the CSS for the LIs in the menu, as in...

#nav li {display:inline;}

This cures the bug in IE with no negative fallout in other browsers.

Oh, and welcome to WebmasterWorld!

cEM


Thread source:: http://www.webmasterworld.com/css/8421.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com