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