課程
/前端開發
/HTML/CSS
/企業網站綜合布局實戰
2016-11-05
源自:企業網站綜合布局實戰 3-8
正在回答
什么文字?
你的文字在哪里?
.nav{
height:40px;
clear:left;
}
.nav-left{
background:url(images/nav_left.jpg) no-repeat;
width:10px;
float:left;
.nav-right{
background:url(images/nav_right.jpg) no-repeat;
.nav-mid{
background:url(images/nav_bg.jpg) repeat-x;
width:980px;
.nav-mid-left{
width:680px;
.nav-mid-right{
width:300px;
.nav-mid-left li{
list-style:none;
line-height:40px;
text-align:center;
width:100px;
.nav-mid-left a:link,.nav-mid-left a:visited{
text-decoration:none;
color:#FFF;
font-family:"幼圓";
font-size:16px;
.nav-mid-left a:hover,.nav-mid-left a:active{
color:#CC3;
代碼貼出來啊,直接給個圖片怎么看
舉報
本課程重點介紹HTML/CSS實現常見企業網站布局的方法
3 回答為什么會溢出
3 回答為什么老師的nav不會溢出
1 回答為什么logo部分會出現溢出呢?
1 回答為什么我的文字分開了
4 回答單行文字顯示為兩行,列表溢出盒子,該如何設置?
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2016-11-06
什么文字?
2016-11-06
你的文字在哪里?
2016-11-06
.nav{
height:40px;
clear:left;
}
.nav-left{
background:url(images/nav_left.jpg) no-repeat;
width:10px;
float:left;
height:40px;
}
.nav-right{
background:url(images/nav_right.jpg) no-repeat;
width:10px;
float:left;
height:40px;
}
.nav-mid{
background:url(images/nav_bg.jpg) repeat-x;
width:980px;
float:left;
}
.nav-mid-left{
width:680px;
float:left;
}
.nav-mid-right{
float:left;
width:300px;
}
.nav-mid-left li{
list-style:none;
float:left;
line-height:40px;
text-align:center;
width:100px;
}
.nav-mid-left a:link,.nav-mid-left a:visited{
text-decoration:none;
color:#FFF;
font-family:"幼圓";
font-size:16px;
}
.nav-mid-left a:hover,.nav-mid-left a:active{
text-decoration:none;
color:#CC3;
font-family:"幼圓";
font-size:16px;
}
2016-11-05
代碼貼出來啊,直接給個圖片怎么看