Styling the controls in your project: pages node under system.web in Webconfig

Source: Internet
Author: User

For a detailed description of the following pages node in System.Web, MSDN above, see here.

The theme property under this pages node can set the style of the control in the project, directly referencing the skin file to set the style, without adding it to each page, to guarantee the consistency of the page style:

" Defaulttheme "  />

About the addition of theme:

Once the theme is created, create your own style under the App_Themes folder, which you can use directly inside pages.

Of course, if you want to add a custom style to a page, you can specify the page's theme in aspx.

The theme under pages in Webconfig overrides the style of the control, which can be reset in the page in ASPX theme overrides the Webconfig settings.

Styling the controls in your project: pages node under system.web in Webconfig

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.