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

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

為什么一模一樣抄下來不顯示二級(jí)導(dǎo)航呢?

<!DOCTYPE?html>
<html?lang="en">
<head>
<meta?charset="UTF-8">
<meta?name="viewport"?content="width=device-width,?initial-scale=1.0">
<meta?http-equiv="X-UA-Compatible"?content="ie=edge">
<title>Nav-bar</title>
<style>
*{
padding:?0;
margin:?0;
}
.page{
width:?100%;
height:?3000px;
background:?url("mooc.png")?center?top?no-repeat;
}
.nav{
width:160;
height:auto;
position:?fixed;
left:0;
top:?50%;
margin-top:-103px;
font-family:?'Miscrosoft?YaHei'
}

.nav-li{
width:?160px;
height:?40px;
border-bottom:?1px?solid?#fff;
background:?#333;
text-align:?center;
line-height:?40px;
color:?#fff;
font-size:?16px;
}
.tit{
width:?160px;
height:?40px;
}
.nav-li?ul{
width:?160px;
height:?auto;
background:?#fff;
}
.nav-li?ul?li{
width:?160px;
height:?40px;
border-bottom:?1px?dashed?#666;
color:?#333;
text-align:?center;
line-height:?40px;
}
</style>
</head>
<body>
<div?class="page">
<div?class="nav">
<div?class="nav-li">
<div?class="tit">網(wǎng)站導(dǎo)航</div>
<ul>
<li>
二級(jí)導(dǎo)航
</li>
</ul>
</div>
<div?class="nav-li">網(wǎng)站導(dǎo)航</div>
<div?class="nav-li">網(wǎng)站導(dǎo)航</div>
<div?class="nav-li">網(wǎng)站導(dǎo)航</div>
<div?class="nav-li">網(wǎng)站導(dǎo)航</div>
</div>
</div>
</body>
</html>


正在回答

3 回答

.nav-li{

height:auto;

}

這里要改為auto長(zhǎng)度才能顯示。

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

freelover19 提問者

非常感謝!
2018-02-25 回復(fù) 有任何疑惑可以回復(fù)我~
#2

freelover19 提問者

對(duì),我太粗心了
2018-02-25 回復(fù) 有任何疑惑可以回復(fù)我~

Css最后一行少一個(gè)position呀

0 回復(fù) 有任何疑惑可以回復(fù)我~

display:none? ? 1)先設(shè)置隱藏


*****:hover?ul{?display:block;}? ? 2)在設(shè)置鼠標(biāo)時(shí)顯示


3)看視頻別快進(jìn)


0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

freelover19 提問者

沒有啊,這是我看視頻一半時(shí)候的代碼,就是展示直接出現(xiàn)的那個(gè)
2018-02-05 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

為什么一模一樣抄下來不顯示二級(jí)導(dǎo)航呢?

我要回答 關(guān)注問題
微信客服

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

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)