制作html静态网页如何使用div+css布局,用的dw

日期:2017-04-14 16:11:31 人气:1

制作html静态网页如何使用div+css布局,用的dw

用百分比来设定各元素的宽度。 无标题文档.header{ float:left; width:100%; height:auto; position:relative; background:#ccc;}.header .logo{ float:left; width:100%; height:100px; background:#aaa;}.header .logo img{ margin:20px 0 0 100px;}.header .menu{ float:left; width:100%; po
    A+
热门评论