課程
/前端開(kāi)發(fā)
/HTML/CSS
/企業(yè)網(wǎng)站綜合布局實(shí)戰(zhàn)
我的float 沒(méi)有效果,操作不知道哪出了問(wèn)題
2018-04-05
源自:企業(yè)網(wǎng)站綜合布局實(shí)戰(zhàn) 3-3
正在回答
浮動(dòng)不了
*
{
margin: 0;
padding: 0
font-size:12px;
}
boby
background-color:#F5F5F5;
.top
width:100%;
height:27px;
background: url(../img/top_bg.jpg) repeat-x;
.top_content
width: 1000px;
margin: 0 auto;
.top_content li
list-style-image: url(../img/li_bg.gif);
float: right;
width: 70px;
line-height: 27px;
.top_content a:link,.top_content a:visited
color: #8E8E8E;
text-decoration: none;
.top_content a:hover,.top_content a:active
color: darkred;
.wrap
background-color: ghostwhite;
.logo
height: 80px;
.logo_left
width: 200px;
.logo_right
width: 300px;
float: left;
注意寬高
代碼呢?
舉報(bào)
本課程重點(diǎn)介紹HTML/CSS實(shí)現(xiàn)常見(jiàn)企業(yè)網(wǎng)站布局的方法
1 回答為什么沒(méi)效果
1 回答js為什么沒(méi)效果
2 回答為什么padding:5px;左邊沒(méi)有效果呢
3 回答為什么“box6”里的“margin-top:10px”沒(méi)有效果?
4 回答求指導(dǎo),為什么我的焦點(diǎn)圖沒(méi)有效果??
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)
2018-07-23
浮動(dòng)不了
2018-07-23
*
{
margin: 0;
padding: 0
font-size:12px;
}
boby
{
background-color:#F5F5F5;
}
.top
{
width:100%;
height:27px;
background: url(../img/top_bg.jpg) repeat-x;
}
.top_content
{
width: 1000px;
margin: 0 auto;
}
.top_content li
{
list-style-image: url(../img/li_bg.gif);
float: right;
width: 70px;
line-height: 27px;
}
.top_content a:link,.top_content a:visited
{
color: #8E8E8E;
text-decoration: none;
}
.top_content a:hover,.top_content a:active
{
color: darkred;
text-decoration: none;
}
.wrap
{
width: 1000px;
margin: 0 auto;
background-color: ghostwhite;
}
.logo
{
height: 80px;
}
.logo_left
{
width: 200px;
float: right;
}
.logo_right
{
width: 300px;
float: left;
}
2018-05-01
注意寬高
2018-04-05
代碼呢?