亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
<!doctype?html>
<html>
<head>
<meta?charset="utf-8">
<title>習題</title>
<style?type="text/css">
*{
	margin:0px;
????padding:0px;
??}
.warp{
	margin:0?auto;
	width:1000px;
}
#header{
	background-color:#FFF;
	height:118px;
	border:1px?solid?#000;
}
#contents{
	margin-top:10px;
}
#contents?.huandeng?img{
	width:100%;
	height:306px;
	
}
.huandeng{
	width:100%;
}
.content{
	margin-top:10px;
	width:100%;
	height:auto;
}
.contentl{
	width:720px;
	float:left;
}
.cont1{
	width:100%;
	border:1px?solid?#ccc;
	height:200px;
	margin-bottom:10px;
}
.cont2{
	width:355px;
	border:1px?solid?#ccc;
	height:200px;
	float:left;
	margin-bottom:10px;
}
.cont3{
	width:355px;
	border:1px?solid?#ccc;
	height:200px;
	float:right;
	margin-bottom:10px;
}
.cont4{
	width:100%;
	clear:both;
	border:1px?solid?#ccc;
	height:200px;
	margin-bottom:10px;
}
.cont5{
	width:100%;
	clear:both;
	border:1px?solid?#ccc;
	height:200px;
	margin-bottom:10px;
}
.cont6{
	width:355px;
	border:1px?solid?#ccc;
	height:200px;
	float:left;
}
.cont7{
	width:355px;
	border:1px?solid?#ccc;
	height:200px;
	float:right;
}
.contentr{
	width:260px;
	float:right;
}
.contr1{
	width:100%;
	clear:both;
	border:1px?solid?#ccc;
	height:200px;
	margin-bottom:10px;
}
.contr2{
	width:100%;
	clear:both;
	border:1px?solid?#ccc;
	height:200px;
	margin-bottom:10px;
}
.contr3{
	width:100%;
	clear:both;
	border:1px?solid?#ccc;
	height:200px;
	margin-bottom:10px;
}
.ad1{
	width:100%;
	clear:both;
	border:1px?solid?#ccc;
	height:200px;
	margin-bottom:10px;
}
.ad2{
	width:100%;
	clear:both;
	border:1px?solid?#ccc;
	height:200px;
	margin-bottom:10px;
}
#footer{
	clear:both;
	width:100%;
	height:150px;
	border:1px?solid?#ccc;
}
</style>
<script?language="javascript">
function?changs(obj){
	obj.style.boxShadow="0px?0px?5px?rgba(0,0,0,0.7)"
}
function?changs1(obj){
	obj.style.boxShadow="0px?0px?0px"
}
</script>
</head>
<body>
<div?class="warp">
????<div?id="header">頭部</div>
????<div?id="contents">
????????<div?class="huandeng">
????????	<img?scr=""?alt="幻燈片"?title="這是一個幻燈片">
????????</div>
		<div?class="content">
			<div?class="contentl">
				<div?class="cont1"?id="aaa"?onMouseOver="changs(this)"?onMouseOut="changs1(this)">內容1</div>
				<div?class="cont2"?onMouseOver="changs(this)"?onMouseOut="changs1(this)">內容2</div>
				<div?class="cont3">內容3</div>
				<div?class="cont4">內容4</div>
				<div?class="cont5">內容5</div>
				<div?class="cont6">內容6</div>
				<div?class="cont7">內容7</div>
			</div>
			<div?class="contentr">
				<div?class="contr1">右1</div>
				<div?class="contr2">右2</div>
				<div?class="contr3">右3</div>
				<div?class="ad1">ad1</div>
				<div?class="ad2">ad2</div>
			</div>
		<div>
????</div>
????<div?id="footer">底部</div>
</div>
</body>
</html>


正在回答

0 回答

舉報

0/150
提交
取消
網頁布局基礎
  • 參與學習       214662    人
  • 解答問題       1833    個

讓你精通CSS中三大定位機制,徹底掌握網頁布局的相關知識

進入課程
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號