asp.net网页设计问题
来源:百度知道 编辑:UC知道 时间:2024/06/08 22:38:15
自己写的div :<div style="top">
提示说 声明中缺少属性值 怎么回事 难道还要写css?
提示说 声明中缺少属性值 怎么回事 难道还要写css?
style="top"有错,top什么都不是。举个例子。
style="margin-top:50px;"
style="padding-top:100px;"
有时候不会影响程序运行的!
style="vertical-align:top" 改成这个试试看
不能这么写,应该用id 或者class,例如
<div class="top"></div>
然后把top作为CSS类的名称去单独写CSS