Consider the use of CSS to enhance the control and overall
visual aspect of your application. Add a new style sheet just as you
previously did for the theme (see Listing 2), only this time select Style
Sheet. Once you have completed this step, your application will automatically
apply this style sheet to your pages.
Note: The head tag must have the attribute
runat="server."
Now, back in the style sheet you can apply items such as the
page background color, font color and font size.
Listing 5
body
{
background-color: #000000;
color: #FFFFFF;
font-family: Arial, Verdana, Garamond;
font-size: 10px;
}
Execute the application and you will now see that not only
does the button control have a theme applied, but the style sheet has now
changed the way the user interface looks.
Figure 4