There are two problems in IE browser: - first, with gray mouseover effect: there is an extra space bellow the menu title on mouse over. - If the display property is "inline" instead of "block" then there is no extra space but the gray background was only visible over the text part of the menu item and not to the end of the column.
.main a:link, .main a:visited, .main a:active { display: block; background: #CCC; /* or whatever color you want*/ height: 20px; /* set desired height */ line-height: 20px; /* increases the line-height of the text so that you can use vertical-align*/ vertical-align: middle; /*puts text in middle instead of top*/ }
.main a:visited:hover, .main a:hover { display: block; background: #CC0000; /*highlight color*/ height: 20px; /* set to desired height */ line-height: 20px; /* increases the line-height of the text so that you can use vertical-align*/ vertical-align: middle; /*puts text in middle instead of top*/ }