Changing Font Color in ASP:Menu's 2.0

C

Chuck Snyder

I've set the Forecolor="#FFFFFF" for the asp:menu, StaticMenuStyle,
DynamicMenuItemStyle, and DynamicHoverStyle.

No matter how its set, in a style sheet, the forecolor does not change. I
am able to easily change the backcolor, bordercolor etc in the style sheet
without any problems, but the forecolor has me stumped. It should be simple,
but its not working.

from the ASPX page:
<asp:Menu RUNAT="SERVER" ID="Menu1" DataSourceID="SiteMapDataSource1"
SkinID="MenuColor" />

Then from the .skin file:
<asp:menu runat="Server" SkinID="MenuColor" height="10"
width="50%"
StaticDisplayLevels="1"
Orientation="Horizontal"
runat="server"
ForeColor="#FFFFFF"

style="filter:progid:DXImageTransform.Microsoft.Gradient(gradientType=1,startColorStr=#ffffff,endColorStr=#404040)">

<StaticMenuStyle VerticalPadding="0px" ForeColor="White" />

<DynamicMenuItemStyle
ForeColor="White"
BorderColor="White"
BorderStyle="Solid"
BorderWidth="1"
BackColor="#f8A8A8"
VerticalPadding="4px" />

<DynamicHoverStyle
ForeColor="#DD5555"
BackColor="#aa1212"
BorderColor="White"
BorderStyle="Solid"
BorderWidth="1"
Font-Italic="true"/>
</asp:menu>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,231
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top