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

為了賬號安全,請及時綁定郵箱和手機立即綁定

代碼代碼代碼

<!DOCTYPE?html>
<html>
<head>
<meta?http-equiv="Content-Type"?content="text/html;?charset=gb2312"?/>
<title>頁碼的制作</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>
<!--在此制作頁碼的基本結(jié)構(gòu)-->
<div?class="top">
?<span?class="to">首頁</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">末頁</span>
</div>


</body>
</html>


正在回答

1 回答

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

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

舉報

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

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

進入課程

代碼代碼代碼

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

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

幫助反饋 APP下載

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

公眾號

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