asp.net menu control ie8 and ie9 issue

i dont want to switch on compatibility view . I dont want to emulate ie7 on ie8 or ie9 forcefully.

Right now the asp menu control shrinks in ie8 and ie9 unless compatibility mode is switched on , then it displays properly.

Also ajax combo box does not render in IE 9..!!

This is my CSS

.TD_MainMenu { width: 1259px; text-align: left; height: 11px; background-color: #CCCCFF; }

.Table { border-collapse: collapse; background-color: #CCCCFF; text-align: left; }

.TD_Menu { height: 20px; text-align: center; }

.topMenu { background: url(images/topMenuBG.gif) bottom left repeat-x; background-color: #EBF5F6; border-bottom: 1px solid #ffffff; padding-left: 0px; }

.topMenuItem a { font-family: verdana; font-size: 10px; color: #0C4D6B; font-weight: bold; width:100%; display:block; }

.topMenuItemHover { background-color: #A9D2D9; font-family: verdana; font-size: 10px; color: #0C4D6B; font-weight: bold; }

.topMenuSbItemBG { border: 1px solid #96C6CE; border-top: 1px solid #EBF5F6; margin-top: 1px; font-size: 10px; }

.topMenuSbItemBG a { font-family: verdana; font-size: 10px; color: #0C4D6B; font-weight: bold; width:100%; display:block; }

.DynamicMenuItemStyle { border-bottom: 1px solid #F5FDFF; }

.DynamicMenuItemStyle tr td { font-size: 9px !important; cursor: hand; }

.menu_ie8fix { z-index: 100; position:relative; }

this is my css

链接地址: http://www.djcxy.com/p/87564.html

上一篇: 使用Java读取一个css文件的内容

下一篇: asp.net菜单控制ie8和ie9问题