怎么使文字居中显示
还有灰化的问题,就是选中一项后改变这一项的颜色,
<asp:Menu StaticSelectedStyle-HorizontalPadding= " " ID= "menuFunction " runat= "server " OnMenuItemClick= "menuFunction_MenuItemClick " >
<StaticMenuItemStyle CssClass= "MenuTabItem " />
<StaticMenuStyle BackColor= "#EEEEEE " Font-Size= "20px " Width= "175 "/>
<StaticMenuItemStyle BorderStyle= "Solid " BorderWidth= "0px " BorderColor= "#a4c5ee " Height= "23 " CssClass= "menuItem "/>
<DynamicMenuItemStyle HorizontalPadding= "10 " />
<DynamicMenuStyle HorizontalPadding= "10 " BorderStyle= "Outset " BorderWidth= "1px "
BorderColor= "LightGray " BackColor= "#EEEEEE " VerticalPadding= "4px " />
<DynamicMenuItemStyle HorizontalPadding= "10 "
BorderStyle= "Solid " BorderWidth= "1px " BorderColor= "#F7F3F7 " />
<StaticHoverStyle BackColor= "#CECECE " BorderStyle= "Solid "
BorderWidth= "1px " BorderColor= "DarkGray " />
<DynamicHoverStyle BackColor= "#CECECE " BorderStyle= "Solid "
BorderWidth= "1px " BorderColor= "DarkGray " />
<StaticSelectedStyle BackColor= "#CECECE " BorderStyle= "Solid "
BorderWidth= "1px " BorderColor= "DarkGray " />
</asp:Menu>