<style type="text/css">
        .style1
        {
            text-align: center;
            height: 30px;
        }
        .style3
        {
            width: 148px;
            text-align: right;
            height: 30px;
        }
        .style4
        {
            width: 238px;
            text-align: left;
        }
        .style5
        {
            width: 148px;
            text-align: right;
        }
        .style7
        {
            width: 148px;
            text-align: right;
            height: 54px;
        }
        .style9
        {
            width: 139px;
        }
        .style10
        {
            width: 69px;
        }
        .style11
        {
            width: 231px;
            text-align: left;
        }
    </style>

解决方案 »

  1.   

    那也要看你的“提交”都做了什么呀?比如有些人胡乱写的代码:Response.Write("<script>........</script>")之类的,这种asp.net程序员就需要真正地去学习 html 知识啊!
      

  2.   

    ClientScript.RegisterStartupScript(this.GetType(), "message", "<script language='javascript' defer>alert('" + msg + "');</script>");
      

  3.   

    真的是这个错误,,现在发现对 html 知识了解甚少。。
      

  4.   

    当我们调试页面在客户端的bug,至少(最简单地想法是)要从浏览器打开“html代码”来看看到底浏览器如何解释,往往还会把它复制到web开发工具上作为一个html页面去调试。这时候,你一眼就可以看出你的html被Response.Write(....)破坏了。
      

  5.   

    呵呵   我和刚刚学asp.net一样
      

  6.   

    页面被Response.Write()破坏了。
    用page.ClientScript.RegisterStartupScript方法
      

  7.   

    我想问的是页面是怎么被Response.Write()破坏的啊??