1. mization topic-Master Control
If the Theme attribute is used for the page in an example, this means that the Custonization topic is used in this example to set the style for the page. The Customization topic determines the style of the page element. If you manually set the style of the page element and the page is controlled by the Customization topic, these styles can be applied only when the topic does not contain the style of the corresponding element.
2. Stylesheet topic-CSS of the server control
To use a topic as a style sheet, you only need to use the StyleSheetTheme attribute at the top of the page. This change means that developers can set a small number of styles in the style attribute of each tag, and provide a consistent appearance for the site in the topic category.
3. Customization and Stylesheet themes
ASP. NET does not have any rules to specify that only Stylesheet or Customization topics can be used on the page. If you want to use two levels of styles on the page, you can use the theme in the site for both mandatory and optimal reasons.
For example, you may specify that the main elements of different pages must be consistent in appearance. The <body> Label of the page must always be a specific font, And the Menu control must always be a node of a specific style. However, you also need to put the topic that only defines the style of the Label control, use the period as the topic of Customization. Then, you can use other style information to create a different topic and apply the style that overwrites a specific element when creating the site. Then, you can use the topic as the Stylesheet topic. The following list shows how to set the style order for an application:
(1) Stylesheet topic
(2) CSS style
(3) Element style
(4) mization topic
The style specified in the mization topic always overwrites all other styles.