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 a few mistakes before, I did not take a closer look. CodeThis time, I am not persistent in searching online and asking questions from forums and QQ groups. Copy the code of the teaching material to the related item in vs2005, and compare the words. The teaching material has a "backcolor =" # ffffff "more than the one I wrote "".

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 ).

Http://www.123de6.cn student Buddha

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.