.div1{ width:80%; height:80%; background:blue; border:1px solid black; } .test{ width:80%; height:80%; background:red; border:1px solid yellow; } 流体定位布局2this is a test
this is a second test
查看更多关于CSS+DIV的宽度和高度的自适应问题_html/css_WEB-ITnose的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did112872
CSS+DIV的宽度和高度的自适应问题_html/css_WEB-ITnose
CSS HTML 布局 相对定位 除了body以外,最外层的width:80%和height:80%都设置了百分比为什么没有占屏幕的80%呢?
阅读:51次