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

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

給div設(shè)置元素為什么沒(méi)有效果


<!DOCTYPE html>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>盒子模型導(dǎo)航</title>

<meta name="keywords" content="練習(xí)" />

<meta name="description" content="熟練盒子模型和導(dǎo)航代碼" />


<script language="JavaScript" type="text/javascript">

<!--JS代碼位置-->

</script>


<style type="text/css">

<!--CSS樣式代碼位置-->

ul

{

float:right;

width:100%;

padding:0;

margin:0;

list-style-type:none;

}

a

{

float:right;

width:7em;

text-decoration:none;

color:white;

background-color:purple;

padding:2em 0.6em;

border-right:1px solid white;

text-align:center;

}

a:hover {background-color:#ff3300}

li {display:inline}

<!-- 導(dǎo)航欄css -->

#aa{

background-color:red;

}


</style>


</head>


<body>


<ul>

<li><a href="#">首頁(yè)</a></li>

<li><a href="#">博客</a></li>

<li><a href="#">資源</a></li>

<li><a href="#">下載</a></li>

</ul>

<!--就是這個(gè)div 沒(méi)有效果-->

<div id="aa">logo圖片

</div>


</div>



</body>

</html>


正在回答

2 回答

css中的注釋是用/* */,<!-- 導(dǎo)航欄css -->這句話改成/* 導(dǎo)航欄css*/就好了。

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

同學(xué)您好,如果是這樣的話您還是一樣的要得到enter鍵的鍵碼值的!然后根據(jù)這個(gè)鍵碼值來(lái)結(jié)束計(jì)時(shí)。執(zhí)。。

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

舉報(bào)

0/150
提交
取消

給div設(shè)置元素為什么沒(méi)有效果

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

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

幫助反饋 APP下載

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

公眾號(hào)

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