Relationship between. skin and css in Theme

Source: Internet
Author: User

I have read ASP. NET 2.0 Theme textbooks just now. Here is an example: there are two textbox, but one is server control and the other is html input.
According to the teaching material, the former is white backcolor, and the latter is black backcolor.
However, both of them are black backcolor.
As a result, I began to wonder if the version vs2005 is different from the version mentioned in the textbook. I also searched the internet for the reason.
In view of the fact that I have made several mistakes before and did not carefully read the code, this time I am not persistent in searching online and asking questions on forums and QQ groups. Copy the code of the teaching material to the related ITEM in vs2005, and compare the words. The teaching material is one more"BackColor = "# ffffff"".
    
As a summary, the relationship between css and. skin on control is my personal understanding. If you have any mistakes, please point out. Thank you.

12.16.skinpriority is higher than .css, but it is invalid for html control.
2. When. skin does not describe the server control attributes (even if it is not described, for example, BackColor under textbox .),. Css affects server control (for example, BackColor ).

 

 
Related Article

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.