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

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

代碼代碼代碼

<!DOCTYPE?html>
<html>
<head>
<meta?http-equiv="Content-Type"?content="text/html;?charset=gb2312"?/>
<title>頁(yè)碼的制作</title>
<style>
/*在此定義相關(guān)CSS樣式*/
.top{?width:295px;?height:30px;?border:1px?solid?#ccc;?}
.top?.to{?font-size:12px;?border:1px?solid?#ccc;display:block;?width:40px;?height:20px;line-height:20px;text-align:center;float:left;margin:4px?5px;}
.top?.tol{?font-size:12px;?border:1px?solid?#ccc;display:block;?width:20px;?height:20px;line-height:20px;text-align:center;float:left;margin:4px?5px;}
.top?.tol{?font-size:12px;?border:1px?solid?#ccc;display:block;?width:20px;?height:20px;line-height:20px;text-align:center;float:left;margin:4px?5px;}
.top?.tol?p{?margin:0px;?background:red;}
</style>
</head>

<body>
<!--在此制作頁(yè)碼的基本結(jié)構(gòu)-->
<div?class="top">
?<span?class="to">首頁(yè)</span>
?<span?class="tol"><</span>
?<span?class="tol"><p>1</p></span>
?<span?class="tol">2</span>
?<span?class="tol">3</span>
?<span?class="tol">....</span>
?<span?class="tol">></span>
?<span?class="to">末頁(yè)</span>
</div>


</body>
</html>


正在回答

1 回答

不要用display:block;用display:inline-block;就會(huì)在同一行了

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

舉報(bào)

0/150
提交
取消
企業(yè)網(wǎng)站綜合布局實(shí)戰(zhàn)
  • 參與學(xué)習(xí)       157038    人
  • 解答問(wèn)題       2157    個(gè)

本課程重點(diǎn)介紹HTML/CSS實(shí)現(xiàn)常見(jiàn)企業(yè)網(wǎng)站布局的方法

進(jìn)入課程
微信客服

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

幫助反饋 APP下載

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

公眾號(hào)

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