第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

怎么實現(xiàn)代碼快照

怎么實現(xiàn)代碼快照

齊小年 2014-09-17 13:31:17
怎么實現(xiàn)代碼快照
查看完整描述

2 回答

?
一閃一閃

TA貢獻3條經(jīng)驗 獲得超1個贊

<!DOCTYPE html>

<html>

? ? <head>

? ? <meta charset="UTF-8">

? ? <title>實踐題 - 選項卡</title>

? ? <style type="text/css">

* {

margin: 0px;

padding: 0px;

font: 12px normal "microsoft yahei";

}

/* CSS樣式制作 */ ?

a {

text-decoration: none;

color: #000;

}

div[name="tabmain"]>ul>li {

display: inline-block;

line-height: 35px;

height: 35px;

}

ul[id="tabul"]{display:inline;}

ul[id="tabul"]>li {

text-align: center;

width: 70px;

height: 30px;

line-height: 30px;

display: inline-block;

margin-right: 5px;

border-top:2px solid #999;

border-left:2px solid #999;

border-right:2px solid #999;

background:#FFF;

}

div[id="tab"]{

position:absolute;

top:0px;

left:10px;

z-index:1;

}

div[name="tabmain"] {

position:absolute;

top:27px;

padding: 20px;

height: 200px;

width: 350px;

background:#FFF;

margin-bottom: 50px;

border-top: 5px solid #F93;

border-bottom:1px solid #00F;

border-left:1px solid #00F;

border-right:1px solid #00F

}


div[id="main"]{

height:273px;

width:392px;

position:fixed;

top:40px;

left:50px;

}

</style>

? ? <script type="text/javascript">

? ? ? ? ?

? ? // JS實現(xiàn)選項卡切換

? ? window.onload=function(){

var tabs=document.getElementById("tabul").getElementsByTagName("li");

for(var i=0;i<tabs.length;i++)

{


}

}

? ??

? ? </script>

? </head>

? ? <body>

<!-- HTML頁面布局 -->

<div id="main">

<div id="tab">

<ul id="tabul">

<li><a href="#">房產(chǎn)</a></li>

<li><a href="#">家居</a></li>

<li><a href="#">二手房</a></li>

</ul>

</div>

<div id="tabmain" name="tabmain">


</div>

</div>

</body>

</html>


查看完整回答
反對 回復 2015-07-19
  • 2 回答
  • 1 關注
  • 2702 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網(wǎng)微信公眾號