当前位置: 代码迷 >> ASP.NET >> 提交事件后,页面样式没了.为什么?该怎么解决
  详细解决方案

提交事件后,页面样式没了.为什么?该怎么解决

热度:8621   发布时间:2013-02-26 00:00:00.0
提交事件后,页面样式没了.为什么?
页面刚开始挺好的,可提交事件(跟数据库打交道)后,页面就有点乱了.比如,字体变大了等等.怎么回事啊?

------解决方案--------------------------------------------------------
好好check一下CSS
------解决方案--------------------------------------------------------
因为你用了response.write
2005换成ClientScript.RegisterStartupScript(typeof(string), "aa ", " <script> </script> ")
------解决方案--------------------------------------------------------
把用到response.write做相应修改,不要用response.write
  相关解决方案