产品使用及交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

xiyou, 麻烦帮我看下更新后的问题 [复制链接]

1#
分享 转发
TOP
2#

回复 2楼xiyou的帖子

加上哪个文件里?
TOP
3#

回复 4楼xiyou的帖子

还是不行这是网站顶部代码

<script src="/js/diy.js"></script><script language="JavaScript">
function correctPNG() // correctly handle PNG transparency in Win IE 5.5 & 6.
{
    var arVersion = navigator.appVersion.split("MSIE")
    var version = parseFloat(arVersion[1])
    if ((version >= 5.5) && (document.body.filters))
    {
       for(var j=0; j<document.images.length; j++)
       {
          var img = document.images[j]
          var imgName = img.src.toUpperCase()
          if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
          {
             var imgID = (img.id) ? "id='" + img.id + "' " : ""
             var imgClass = (img.className) ? "class='" + img.className + "' " : ""
             var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
             var imgStyle = "display:inline-block;" + img.style.cssText
             if (img.align == "left") imgStyle = "float:left;" + imgStyle
             if (img.align == "right") imgStyle = "float:right;" + imgStyle
             if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
             var strNewHTML = "<span " + imgID + imgClass + imgTitle
             + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
             + "filter:progidXImageTransform.Microsoft.AlphaImageLoader"
             + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>"
             img.outerHTML = strNewHTML
             j = j-1
          }
       }
    }    
}
window.attachEvent("onload", correctPNG);
</script>
<p><style type="text/css">
*{ margin:0; padding:0;}
img
{ border:0;
}
#wanghead1
{ width:940px;
   height:291px;
   margin:auto;
   background:url(/images/tou/wyheadbg.jpg) no-repeat;
   overflow:hidden;
   overflow:visible\9;
   _overflow:hidden;

}
#wangleftlist1
{
  float:left;
  width:247px;
  height:182px;  
  margin-left:30px;
  margin-top:92px;

}
.wanglist1
{ float:left;
width:247px;
height:auto;
}
#wangrighttu1
{
  float:left;
  position:relative;
  left:273px;
  top:-270px;
  z-index:2;

}</style></p>
<div id="wanghead1">
<div id="wangleftlist1">
<div class="wanglist1"><a href="http://xswhy.hnswxy.com/pjddc/index.asp"><img alt="" src="/images/tou/bt_r1_c2.png" /></a></div>
<div class="wanglist1"><a href="http://nlearning.hnswxy.com/index.asp"><img alt="" src="/images/tou/bt_r2_c2.png" /></a></div>
<div class="wanglist1"><a href="http://nlearning.hnswxy.com/index.asp"><img alt="" src="/images/tou/bt_r3_c2.png" /></a></div>
<div class="wanglist1"><a href="http://zjjt.hnswxy.com:6320/"><img alt="" src="/images/tou/bt_r4_c2.png" /></a></div>
</div>
<div id="wangrighttu1"><script src="/e/d/slide_51.js" type="text/javascript"></script></div>
</div>
TOP
4#

回复 6楼xiyou的帖子

空白区没有了,不过导航还有一点点问题。非常感谢,解决大问题了!
不过顶部还有一条杠杠,一些子站的图片周围也有一圈黑边(http://www.hnswxy.com/kjx/),这个是css的问题吗?
TOP
5#

回复 8楼xiyou的帖子

好的,我再去调试,非常感谢!
TOP
发新话题 回复该主题