警告 8 验证 (XHTML 1.0 Transitional): 属性“width”被视为已过时。建议使用较新的构造。 E:\net\web\Chap10_1Login.aspx 17 9 http://localhost/web/.net2005中遇到的问题,请大家帮下忙,谢谢!

解决方案 »

  1.   

    <div style ="width:100px" ></div>
    放到style里面去,但是忽视提示错误,应该也没问题吧.
      

  2.   

    是可以生成成功,不过老出现这个提示,想把他解决了,请问有什么办法,还有
    警告 12 验证 (XHTML 1.0 Transitional): 属性“nowrap”被视为已过时。建议使用较新的构造。 E:\net\web\Chap10_1Login.aspx 18 21 http://localhost/web/
      

  3.   

    没错,是用的:nowrap="nowrap"
      

  4.   

    2楼的是可以,style ="width:100px" 可以解决,不过nowrap的问题请问怎么解决?好像是xhtml
      

  5.   

    老老实实用style ="width:100px;height:200px"这样的格式的就可以了