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

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

nav上面出現(xiàn)了這個(gè)

@charset "utf-8";

*

{

margin:0;

padding:0;

font-size:12px;

}

body

{

background-color:#f5f5f5;

}

.top

{

width:100%;

height:27px;

background:url(../images/top_bg.jpg) repeat-x;

}

.top_content

{

width: 1000px;

margin:0 auto;

}

.top_content li

{

list-style-image:url(../images/li_bg.GIF);

float:right;

width:70px;

line-height: 27pxs;/*讓文字垂直居中*/

}

.top_content a:link,.top_content a:visited

{

color:#8e8e8e;

text-decoration: none;

}

.top_content a:hover,.top_content a:active

{

color:#900;

text-decoration: none;

}

.wrap

{

width:1000px;

margin:0 auto;

}

.logo

{

height:80px;

background-color: white;

}

.logo_left

{

width:200px;

float:left;

}

.logo_right

{

width:300px;

float:right;

height:28px;

margin:30px;

color:#8e8e8e;

}

.logo_right img

{

vertical-align: middle;

margin-right:10px;

}

.tel

{

font-family: "microsoft yahei";

font-size: 16px;

color:#C00;

}

.nav

{

height:40px;

}

.nav_left

{

width:10px;

background:url(../images/nav_left.jpg) no-repeat;

float:left;

height:40px;

}

.nav_mid

{

width:980px;

background:url(../images/nav_bg.jpg) repeat-x;

float:left;

}

.nav_right

{

width:10px;

background:url(../images/nav_right.jpg) no-repeat;

float:left;

height:40px;

}

https://img1.sycdn.imooc.com//5c7f16c700012e6410850271.jpg

正在回答

1 回答

因?yàn)閷?dǎo)航部分之前使用了浮動(dòng),后面的元素會(huì)受影響.

要在寫寫導(dǎo)航之前添加空的div,如:<div class="clear"></div>

然后在CSS文件中添加 ? .clear{clear:both;}

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

weibo_執(zhí)著的弧線_0

詳情請(qǐng)百度如何清除浮動(dòng)
2019-03-10 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

nav上面出現(xiàn)了這個(gè)

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

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

幫助反饋 APP下載

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

公眾號(hào)

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