When the defined style contains Chinese characters, such. sometyle {font-family: @ ;}. If the writing is incorrect, as shown in. sometyle {font-family: ;}, this should be an incorrect way of writing. In this way, not only does this style not work, but also affects the style behind it, I don't know whether the parsing of css is the rule or ASP. NET 2.0 problems.
When you directly add the js file downloaded from the Internet to the VS2005 project, if the file contains Chinese characters, when you call the method, A js error cannot be found for the object, just as if you didn't chain it like this file. You need to create a new js file in the project, copy the code in your down file into the new file, and then use the new file. This problem should be about file encoding.
In addition, ASP. NET2.0 adopts the XHTML 1.0 standard, whereas 1.x is HTML 4.0. We can see from the HTML source file headers of both.
<! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<! Doctype html public "-// W3C // dtd html 4.0 Transitional // EN">
Therefore, the defined elements must comply with the XHTML 1.0 specification. For example, the length must be added to the Unit, for example, width: 100px; width: 100 does not work.