body{ font-size: 13px; font-family: Arial; text-align: center;}#container{ position: relative; width: 100%; text-align: left; margin: 5px; height: 100%;}#head{ width:100%; height:100px; }.logo{ position:absolute; left:0px; height:100%; width: 190px;}.selectcity{ position:absolute; left:190px; width:80px; height:100px;}.flash{ margin-left:270px; margin-right:190px; height:100%; }.links{ position:absolute; top:0px; right:0px; height:100%; width:190px; }#banner{ clear:both; width: 100%; position: relative; height: 30px; }#content{ width: 100%; position: relative; height: 100%; }#footer{ width: 100%; height: 30px;}.left{ float: left; width: 190px; height: 100%;}.middle{ margin-left: 190px; margin-right: 240px;}.right{ float: right; width: 240px; height: 100%;}
css+div布局代码2
最新推荐文章于 2024-07-11 17:14:12 发布