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="filterrogidXImageTransform.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>
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="filterrogidXImageTransform.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>