課程
/前端開(kāi)發(fā)
/HTML/CSS
/網(wǎng)頁(yè)布局基礎(chǔ)
為什么我的做出來(lái)right部分是這樣
2017-01-10
源自:網(wǎng)頁(yè)布局基礎(chǔ) 3-5
正在回答
#wrap {background:#00C;margin:0 auto;width:960px;}
#header {background:#FF3300;width:100%;}
#mainbody { background:#FC0; width:100%; overflow:hidden; height:500px;}
.left {width:800px;height:200px;background:#000;float: left;}
.right {width:140px;height:500px;background:#690;float:right;}
#footer {background:#639;width:100%;}
qq_大雄BLACKIE_03832351 提問(wèn)者
qq_nextsecondla_03409914 回復(fù) qq_大雄BLACKIE_03832351 提問(wèn)者
你代碼中有幾處標(biāo)點(diǎn)符號(hào)中英文有誤,這樣的問(wèn)題其實(shí)用一些IDE很容易檢查出來(lái)的,比如webstorm,我就用這個(gè)
可以貼出你的css樣式看看你是怎么寫(xiě)的
舉報(bào)
讓你精通CSS中三大定位機(jī)制,徹底掌握網(wǎng)頁(yè)布局的相關(guān)知識(shí)
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購(gòu)課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2017-01-10
#wrap {background:#00C;margin:0 auto;width:960px;}
#header {background:#FF3300;width:100%;}
#mainbody { background:#FC0; width:100%; overflow:hidden; height:500px;}
.left {width:800px;height:200px;background:#000;float: left;}
.right {width:140px;height:500px;background:#690;float:right;}
#footer {background:#639;width:100%;}
2017-01-10
你代碼中有幾處標(biāo)點(diǎn)符號(hào)中英文有誤,這樣的問(wèn)題其實(shí)用一些IDE很容易檢查出來(lái)的,比如webstorm,我就用這個(gè)
2017-01-10
可以貼出你的css樣式看看你是怎么寫(xiě)的