This samples shows how simple HTML pages can be visually changed using themes.
This sample uses three HTML files:
When a theme is applied to an HTML page or the entire Web project, files are copied into the Themes directory of the project. Most of the files are graphics, but there are also some cascading style sheets.
The key to the theme is the cascading style sheet (.css) file. The themes in this example use these different style sheets to create the theme:
<link REL="stylesheet" TYPE="text/css" HREF="_Themes/travel/COLOR0.CSS" VI6.0THEME="barcode">
<link REL="stylesheet" TYPE="text/css" HREF="_Themes/travel/GRAPH0.CSS" VI6.0THEME="barcode">
<link REL="stylesheet" TYPE="text/css" HREF="_Themes/travel/THEME.CSS" VI6.0THEME="barcode">
<link REL="stylesheet" TYPE="text/css" HREF="_Themes/travel/CUSTOM.CSS" VI6.0THEME="barcode">
The first linked file (COLOR0.CSS) sets the colors for links (regular, active, and visited), the six different heading levels (H1-H6), table highlight and shadow colors, and body background color.
The second linked file (GRAPH0.CSS) sets the image and font information for banner and non-graphical navigation controls.
The third linked file (THEME.CSS) sets the font family for the body, the six heading levels and the background image.
All the graphical navigation controls are in the final linked file (CUSTOM.CSS) along with all the bullet levels.