发新话题
打印

新手求救~

新手求救~

大家好,我是新来的
本人正在制作一网页,顶部菜单是用DIV+CSS
但有一问题,也就是不懂CSS如何HACK
在IE7-8 显示正常:

在IE6就全变样了~

哪个大哥大姐,能帮小弟一忙,看看什么 个HACK法,仅MENU这一项就行
附件: 您所在的用户组无法下载或查看附件
网址:http://www.20071212.com/wa4/main.htm

其中的style.css里针对于menu的样式:

#menu{
        width:924px;
        height:44px;
        margin:0px auto 0 auto;
        overflow:hidden;
        background: none;
        }

.menu{
        margin:0 1px 0 0;
        padding:0;
        }

.menu dt{
        margin-right:0px;
        float:left;
        }

.menu dt a{
background:url(../images/top_menu_button.png) no-repeat bottom;
width:132px;
  height:44px;
  line-height:44px;
  display:block;
  text-align:center;
  text-decoration: none;
  color:#FFFFFF;
  font-family:"微软雅黑";
  font-size:14px;
behavior: url("../iepngfix.htc");
          }
          
.menu dt a:hover{
          background:url(../images/top_menu_button_hover.png) no-repeat bottom;
          width:132px;
          height:44px;
          line-height:44px;
            display:block;
          text-align:center;
          text-decoration:underline;
          color:#FFFFFF;
          font-family:"微软雅黑";
          font-size:14px;
          font-weight:bold;
       behavior: url("../iepngfix.htc")
          }

.menu .hover{
          background:url(../images/top_menu_button_hover.png) no-repeat bottom;
          width:132px;
          height:44px;
          line-height:44px;
          display:block;
          text-align:center;
          text-decoration:underline;
          color:#FFFFFF;
          font-family:"微软雅黑";
          font-size:14px;
          font-weight:bold;
      behavior: url("../iepngfix.htc")
          }

.menu .hover a{
          background:url(../images/top_menu_button_hover.png) no-repeat bottom;
          width:132px;
          
          height:44px;
          
          line-height:44px;
          display:block;
          text-align:center;
          
          text-decoration:underline;
          color:#FFFFFF;
          font-family:"微软雅黑";
          font-size:14px;
          font-weight:bold;
      behavior: url("../iepngfix.htc")
          }
          
.menu .quit{
          background: none;
      }

.menu .quit a{
          background: none;
      }
.menu dt a{
background:url(../images/top_menu_button.png) no-repeat bottom;
width:132px;
  height:44px;
  line-height:44px;
  display:block;
  text-align:center;
  text-decoration: none;
  color:#FFFFFF;
  font-family:"微软雅黑";
  font-size:14px;
behavior: url("../iepngfix.htc");
          }
有问题,最好加个浮动,
你本身是一DL就有问题,使用li
哦?~那我试试~
还是不行呀~高手们,帮忙啊~
发新话题