DIV+CSS导航菜单在IE7下正常,但是在IE6下不正常,求解决! 10
以下是CSS代码:.menu_news{CLEAR:both;MARGIN-TOP:10px;WIDTH:950px;HEIGHT:60px;margin-right:a...
以下是CSS代码:
.menu_news {
CLEAR: both;
MARGIN-TOP: 10px;
WIDTH: 950px;
HEIGHT: 60px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
}
.menu_news_left {
WIDTH: 139px;
float: left;
}
.menu_news_right {
WIDTH: 811px;
HEIGHT: 60px;
float: right;
background-image: url(menu_news_2.png);
background-repeat: repeat-x;
}
.menu_news_right_left1 {
float: left;
height: 60px;
width: 400px;
}
.menu_news_right_left1 ul{
float: left;
padding-top: 10px;
}
.menu_news_right_left1 ul li{
float: left;
padding-right: 7px;
padding-left: 7px;
padding-bottom: 10px;
}
.menu_news_right_left1 ul li a{
color: #FFFFFF;
}
.menu_news_right_left2 {
float: left;
height: 50px;
width: 31px;
background-image: url(menu_news_3.png);
background-repeat: no-repeat;
padding-top: 10px;
}
.menu_news_right_left2 A{
font-weight: bold;
color: #FFFFFF;
}
.menu_news_right_left3 {
float: left;
height: 60px;
width: 200px;
}
.menu_news_right_left3 ul{
float: left;
padding-top: 10px;
}
.menu_news_right_left3 ul li{
float: left;
padding-right: 7px;
padding-left: 7px;
padding-bottom: 10px;
}
.menu_news_right_left3 ul li a{
color: #FFFFFF;
}
.menu_news_right_left4 {
float: left;
height: 60px;
width: 120px;
}
.menu_news_right_left4 ul{
float: left;
padding-top: 10px;
}
.menu_news_right_left4 ul li{
float: left;
padding-right: 7px;
padding-left: 7px;
padding-bottom: 10px;
}
.menu_news_right_left4 ul li a{
color: #FFFFFF;
}
请各位大侠能不能帮我修改好发上来呀,我不懂你们讲的呀 展开
.menu_news {
CLEAR: both;
MARGIN-TOP: 10px;
WIDTH: 950px;
HEIGHT: 60px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
}
.menu_news_left {
WIDTH: 139px;
float: left;
}
.menu_news_right {
WIDTH: 811px;
HEIGHT: 60px;
float: right;
background-image: url(menu_news_2.png);
background-repeat: repeat-x;
}
.menu_news_right_left1 {
float: left;
height: 60px;
width: 400px;
}
.menu_news_right_left1 ul{
float: left;
padding-top: 10px;
}
.menu_news_right_left1 ul li{
float: left;
padding-right: 7px;
padding-left: 7px;
padding-bottom: 10px;
}
.menu_news_right_left1 ul li a{
color: #FFFFFF;
}
.menu_news_right_left2 {
float: left;
height: 50px;
width: 31px;
background-image: url(menu_news_3.png);
background-repeat: no-repeat;
padding-top: 10px;
}
.menu_news_right_left2 A{
font-weight: bold;
color: #FFFFFF;
}
.menu_news_right_left3 {
float: left;
height: 60px;
width: 200px;
}
.menu_news_right_left3 ul{
float: left;
padding-top: 10px;
}
.menu_news_right_left3 ul li{
float: left;
padding-right: 7px;
padding-left: 7px;
padding-bottom: 10px;
}
.menu_news_right_left3 ul li a{
color: #FFFFFF;
}
.menu_news_right_left4 {
float: left;
height: 60px;
width: 120px;
}
.menu_news_right_left4 ul{
float: left;
padding-top: 10px;
}
.menu_news_right_left4 ul li{
float: left;
padding-right: 7px;
padding-left: 7px;
padding-bottom: 10px;
}
.menu_news_right_left4 ul li a{
color: #FFFFFF;
}
请各位大侠能不能帮我修改好发上来呀,我不懂你们讲的呀 展开
展开全部
.menu_news {clear: both; width: 950px; height: 60px; margin:10px auto 0;}
.menu_news_left {width: 139px; float: left; }
.menu_news_right {width: 811px; height: 60px; float: right; background: url(menu_news_2.png) repeat-x; overflow:hidden;}
.menu_news_right_left1 {float: left; height: 60px; width: 400px; }
.menu_news_right_left1 ul{float: left; padding-top: 10px; }
.menu_news_right_left1 ul li{float: left; padding:0 7px 10px;}
.menu_news_right_left1 ul li a{color: #fff; }
.menu_news_right_left2 {float: left; height: 50px; width: 31px; background: url(menu_news_3.png) no-repeat; overflow:hidden; border-top: 10px solid #fff; }
.menu_news_right_left2 a{font-weight: bold; color: #fff; }
.menu_news_right_left3 {float: left; height: 60px; width: 200px; overflow:hidden;}
.menu_news_right_left3 ul{float: left; padding-top: 10px; }
.menu_news_right_left3 ul li{float: left; padding:0 7px 10px; }
.menu_news_right_left3 ul li a{color: #fff; }
.menu_news_right_left4 {float: left; height: 60px; width: 120px; overflow:hidden;}
.menu_news_right_left4 ul{float: left; padding-top: 10px; }
.menu_news_right_left4 ul li{float: left; padding:0 7px 10px;}
.menu_news_right_left4 ul li a{color: #fff; }
.menu_news_left {width: 139px; float: left; }
.menu_news_right {width: 811px; height: 60px; float: right; background: url(menu_news_2.png) repeat-x; overflow:hidden;}
.menu_news_right_left1 {float: left; height: 60px; width: 400px; }
.menu_news_right_left1 ul{float: left; padding-top: 10px; }
.menu_news_right_left1 ul li{float: left; padding:0 7px 10px;}
.menu_news_right_left1 ul li a{color: #fff; }
.menu_news_right_left2 {float: left; height: 50px; width: 31px; background: url(menu_news_3.png) no-repeat; overflow:hidden; border-top: 10px solid #fff; }
.menu_news_right_left2 a{font-weight: bold; color: #fff; }
.menu_news_right_left3 {float: left; height: 60px; width: 200px; overflow:hidden;}
.menu_news_right_left3 ul{float: left; padding-top: 10px; }
.menu_news_right_left3 ul li{float: left; padding:0 7px 10px; }
.menu_news_right_left3 ul li a{color: #fff; }
.menu_news_right_left4 {float: left; height: 60px; width: 120px; overflow:hidden;}
.menu_news_right_left4 ul{float: left; padding-top: 10px; }
.menu_news_right_left4 ul li{float: left; padding:0 7px 10px;}
.menu_news_right_left4 ul li a{color: #fff; }
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
IE6和IE7有的地方对margin解释不同,一个IE定义到了,另一个IE却无效
你针对出错的地方看一下margin定义,试试把这层的margin删除换成外部一层padding
你针对出错的地方看一下margin定义,试试把这层的margin删除换成外部一层padding
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
你写的这个大家也看不到效果是什么样的?自然也看不到是什么正常不正常了!你最好把导航菜单这块全部提出来!让大家能下载后看到效果!就能帮你解决问题了!
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询