Hi Imar!
Thank you for writing a excellent book!
In Chapter 6 I'm having some trouble implementing the style for the button that uses a skin to give it a blue background and a .MyButton ID in the monochrome CSS to give it white text. The button seems to come out blue but the text does not get changed to white as specified in the CSS? Below are my code snippets
Button.skin
Code:
<asp:Button CssClass="MyButton" BackColor="#509EE7" runat="server" />
Web.config
Code:
<system.web>
<compilation debug="true" targetFramework="4.5"/>
<httpRuntime targetFramework="4.5"/>
<pages styleSheetTheme="DarkGrey"></pages>
</system.web>
Monochrome.css
Code:
.MyButton
{
color: yellow;
}
SkinsDemo.aspx
Code:
<asp:Content ID="Content2" ContentPlaceHolderID="cpMainContent" Runat="Server">
<asp:Button ID="Button1" runat="server" Text="Button"/>
</asp:Content>
Thanx in advance :)