Today netProgramSet the CSS page. There is no problem in the style of the debug page under IE8 IE7 fire 3 opear safair browser, but the style under IE6 is lost. I searched for related problems online and found similar situations, but I didn't see any errors on their pages, such as CSS Chinese comments, too many page comments, and inconsistent codes. I ruled out the CSS file problem and started to study the net program, finally, I found that there was an error in the header encoding of the net page.Code
<% @ Page Language = "C #" autoeventwireup = "true" codefile = "index. aspx. cs" inherits = "member_index" %>Added a sentenceCodePage = 936%Change
<% @ Page Language = "C #" autoeventwireup = "true" codefile = "index. aspx. cs" inherits = "member_index" codePage = 936% %>
The style loss problem is solved, but net only adds
<% @ Page Language = "C #" autoeventwireup = "true" codefile = "index. aspx. cs" inherits = "member_index" %>Not added CodePage = 936%
According to this situation, I found the globally defined file.Web. configFind the language settings
<Globalization requestencoding = "UTF-8" responseencoding = "UTF-8" Culture = "ZH-CN" uiculture = "ZH-CN"/>Changed<Globalization requestencoding = "gb2312" responseencoding = "gb2312" Culture = "ZH-CN" uiculture = "ZH-CN"/>
The problem is OK. Hope these things are useful to you.