K
Kevin L. Kitchens
Howdy...
Been toying the the asp:menu object in order to dump the manually
generated menu I've been using, however, I cannot seem to get the
coloring to work properly.
First off, what CSS tags should I be setting for how the menu is
eventually rendered? spans? tables? td? div?
In the example below I resorted to using inline coloring and still not
working. The menu is inside of a table cell (td) element. I can see the
items (but they are blue on blue and hard to read), but no color changes
seem to have much effect. I've also tried using the <static...> and
<dynamic...> tags to no effect.
Any ideas?
------------------------------------------
<asp:menu
id="menuMain"
runat="server"
orientation="Horizontal"
width="100%"
backcolor="#0000dd"
forecolor="#ffffff"
statichoverstyle-backcolor="#0000dd"
statichoverstyle-forecolor="#ffcc00"
staticmenuitemstyle-backcolor="#0000dd"
staticmenuitemstyle-forecolor="#ffffff"
dynamicmenuitemstyle-backcolor="#0000dd"
dynamicmenuitemstyle-forecolor="#ffffff"
dynamichoverstyle-backcolor="#0000dd"
dynamichoverstyle-forecolor="#ffcc00"
staticsubmenuindent="10px" enabled="true"
staticdisplaylevels="1"
maximumdynamicdisplaylevels="4"
disappearafter="1000"
dynamichorizontaloffset="2"
font-names="Verdana"
font-size="11px">
<items>
<asp:menuitem
text="Home" navigateurl="/pv/" value="Home" >
</asp:menuitem>
<asp:menuitem
text="About" value="About" >
<asp:menuitem
text="Contact"
navigateurl="/pv/Contact.aspx"
value="Contact" >
</asp:menuitem>
<asp:menuitem
text="Privacy Policy"
navigateurl="/pv//Privacy.aspx"
value="Privacy Policy" >
</asp:menuitem>
</asp:menuitem>
</items>
</asp:menu>
Been toying the the asp:menu object in order to dump the manually
generated menu I've been using, however, I cannot seem to get the
coloring to work properly.
First off, what CSS tags should I be setting for how the menu is
eventually rendered? spans? tables? td? div?
In the example below I resorted to using inline coloring and still not
working. The menu is inside of a table cell (td) element. I can see the
items (but they are blue on blue and hard to read), but no color changes
seem to have much effect. I've also tried using the <static...> and
<dynamic...> tags to no effect.
Any ideas?
------------------------------------------
<asp:menu
id="menuMain"
runat="server"
orientation="Horizontal"
width="100%"
backcolor="#0000dd"
forecolor="#ffffff"
statichoverstyle-backcolor="#0000dd"
statichoverstyle-forecolor="#ffcc00"
staticmenuitemstyle-backcolor="#0000dd"
staticmenuitemstyle-forecolor="#ffffff"
dynamicmenuitemstyle-backcolor="#0000dd"
dynamicmenuitemstyle-forecolor="#ffffff"
dynamichoverstyle-backcolor="#0000dd"
dynamichoverstyle-forecolor="#ffcc00"
staticsubmenuindent="10px" enabled="true"
staticdisplaylevels="1"
maximumdynamicdisplaylevels="4"
disappearafter="1000"
dynamichorizontaloffset="2"
font-names="Verdana"
font-size="11px">
<items>
<asp:menuitem
text="Home" navigateurl="/pv/" value="Home" >
</asp:menuitem>
<asp:menuitem
text="About" value="About" >
<asp:menuitem
text="Contact"
navigateurl="/pv/Contact.aspx"
value="Contact" >
</asp:menuitem>
<asp:menuitem
text="Privacy Policy"
navigateurl="/pv//Privacy.aspx"
value="Privacy Policy" >
</asp:menuitem>
</asp:menuitem>
</items>
</asp:menu>