html5语义化标签布局兼容性调整
header, section, footer, aside, nav, main, article, figure {
display: block;
}
body{margin: 0px;
padding : 0px;
text-align:center;}
header{height: 200px;
background-color: white;}
article{height: 500px;
background-color: #eee;
}
aside{width: 30%;height: 500px;background-color: green;float:left;}
section{width: 60%;height: 500px;background-color:red;float: right;}
footer{height: 200px;
background-color: #000;}
address{font-style:normal;}
头部
左侧
右侧
版权所有一键复制
编辑
Web IDE
原始数据
按行查看
历史