标题:请问斑竹个问题网页的
只看楼主
xin圆圆
Rank: 1
等 级:新手上路
帖 子:8
专家分:1
注 册:2010-11-4
结帖率:66.67%
已结贴  问题点数:20 回复次数:6 
请问斑竹个问题网页的
IE6就会出现这个问题
  我的网页在IE6下打开会产生些问题图片不整齐  可是在IE7 IE8下就很正常 可以帮我解决下这个问题吗 这个是IE7 IE8下面显示
程序代码:
<!--#include file="conn.asp"-->
<!--#include file="config.asp" -->
<!--#include file="Sql.Asp" -->
<!--#include file="w78_sql.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.>
<html xmlns="http://www. xml:lang="en" lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=w78_home%></title>
<meta name="keywords" content="<%=w78_keywords%>" />
<meta name="description" content="<%=w78_description%>" />
<link rel="shortcut icon" href="/sites/all/themes/forevernew/favicon.ico" type="image/x-icon" />
    <script type="text/javascript" src="/misc/jquery.js"></script>
<script type="text/javascript" src="/misc/drupal.js"></script>
<script type="text/javascript">Drupal.extend({ settings: { "googleanalytics": { "trackDownload": "pdf|zip|mp3", "LegacyVersion": 0 } } });</script>

    <!-- to correct the unsightly Flash of Unstyled Content. http://www. -->
    <script type="text/javascript"></script>

    <style type="text/css" title="currentStyle" media="screen">
        @import "/sites/all/themes/forevernew/css/reset.css";
        @import "/sites/all/themes/forevernew/css/global.css";
        @import "/sites/all/themes/forevernew/css/dropdown.css";
    </style>
    <script type="text/javascript" src="/sites/all/themes/forevernew/js/dropdown.js"></script>
    <script type="text/javascript" src="/sites/all/themes/forevernew/js/swfobject.js"></script>
    <!--[if lt IE 7]>
        <noscript>
            <style type="text/css" media="screen">
                @import "/sites/all/themes/forevernew/css/dropdown_ie.css";
            </style>
        </noscript>
    <![endif]-->
    <link rel="Shortcut Icon" type="image/x-icon" href="/sites/all/themes/forevernew/favicon.ico" />
</head>
<body>

   
<link href="ScrollPic.css?pram=28" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="ScrollPic.js"></script>
<script type="text/javascript" src="reflection.js"></script>
<div id="top_section">
<div id="main" style="width:938px; height:471px; margin:0 auto;">
    <div style="width:580px; height:471px; float:left; margin-top:23px;">
        <div style="margin:0px; padding:0px; color:#FFFFFF;">
            <ul>
            <li id="price1" style="height:18px; line-height:18px; vertical-align:middle; text-align:right; padding-right:10px">oval stone necklace $39.99 </li>
            <li id="price2" style="height:18px; line-height:18px; vertical-align:middle; text-align:right; padding-right:10px">flower and pearl bracelet $19.99 </li>
            <li id="price3" style="height:18px; line-height:18px; vertical-align:middle; text-align:right; padding-right:10px">flower and pearl bracelet $19.99 </li>
            <li id="price4" style="height:18px; line-height:18px; vertical-align:middle; text-align:right; padding-right:10px">flower and pearl bracelet $19.99 </li>
            <li id="price5" style="height:18px; line-height:18px; vertical-align:middle; text-align:right; padding-right:10px">flower and pearl bracelet $19.99 </li>
            </ul>
        </div>
        <div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="color:#FFFFFF">
  <tr>
    <td><span id="LeftArr" style="cursor:hand">&lt;&lt;PREV</span> <span id="RightArr" style="cursor:hand">NEXT&gt;&gt;</span></td>
    <td style="text-align:right; padding-right:10px;">CLICK IMAGE TO VIEW</td>
  </tr>
</table>

        </div>
        <DIV class=rollphotos>
                              <DIV class=blk_29>
<DIV class=Cont id=ISL_Cont_1>
<!-- 图片列表 begin -->
<%
i=0
sql1="select * from Products where thumb<>'' order by id desc"
          set rs1=server.CreateObject("adodb.recordset")
rs1.open sql1,conn,1,1
do while not rs1.eof
i=i+1
response.write "<DIV id='img_"&i&"' class=box onclick=""Mget(this.id)"" val="""&rs1("image")&"|"&rs1("descriptions")&"|"&rs1("price")&"|"&rs1("price1")&"|"&rs1("price2")&"|"&rs1("price3")&"""><A class=imgBorder href=""#""><IMG height=228 alt="""&rs1("title")&""" src="""&rs1("thumb")&""" class=""reflect rheight20 ropacity50"" width=190 border=0></A> "
Response.Write"<!--P><A href=""#"" target=_blank>"&rs1("title")&"</A></P--></DIV>"
rs1.movenext
loop
rs1.close
set rs1=nothing%>
<!-- 图片列表 end -->
</DIV>
</DIV>
<SCRIPT language=javascript type=text/javascript>
        <!--//--><![CDATA[//><!--
        var scrollPic_02 = new ScrollPic();
        scrollPic_02.scrollContId   = "ISL_Cont_1"; //内容容器ID
        scrollPic_02.arrLeftId      = "LeftArr";//左箭头ID
        scrollPic_02.arrRightId     = "RightArr"; //右箭头ID
        scrollPic_02.frameWidth     = 569;//显示框宽度
        scrollPic_02.pageWidth      = 190; //翻页宽度
        scrollPic_02.speed          = 10; //移动速度(单位毫秒,越小越快)
        scrollPic_02.space          = 10; //每次移动像素(单位px,越大越快)
        scrollPic_02.autoPlay       = false; //自动播放
        scrollPic_02.autoPlayTime   = 3; //自动播放间隔时间(秒)
        scrollPic_02.initialize(); //初始化
        //--><!]]>
</SCRIPT>
<script type="text/javascript">
function Mget(getid){
    var val=document.getElementById(getid).val.split('|'); //截取id里面的用户名并插入到收件人
    document.getElementById('img_show').src=val[0];
    document.getElementById('price1').innerHTML=val[1];
    document.getElementById('price2').innerHTML=val[2];
    document.getElementById('price3').innerHTML=val[3];
    document.getElementById('price4').innerHTML=val[4];
    document.getElementById('price5').innerHTML=val[5];
}
</script>
</DIV>
<div ><img src="mlogo.gif" /></div>
    </div>
    <div style="width:350px; float:right; margin-top:23px;"><img id="img_show" src="/uploadfile/20101019/20101019225008929.jpg" width="350" height="471" /></div>   
</div>
</div>

<script type="text/javascript">Mget('img_1')</script>

<div id="nav_section" >
    <div id="navbar">
        <ul id="TJK_dropDownMenu">
            <li id="home_link"><a href="/"><span>Home</span></a></li>
            <li id="headquarters_link"><a href="/brand.asp?/1.html"><span>Headquarters</span></a>
                <ul id="headquarters_sub_nav">
                    <li id="brand_story_link"><a href="/brand.asp?/1.html"><span>Brand Story</span></a></li>
                    <li id="design_philosophy_link"><a href="/design.asp?/44.html"><span>Design Philosophy</span></a></li>
                </ul>
            </li>
            <li id="collections_link"><a href="/collections.asp" class="active"><span>Collections</span></a></li>
            <li id="news_link"><a href="/whatson.asp?/45.html"><span>News</span></a>
                <ul id="news_sub_nav">
                    <li id="whats_on_link"><a href="/whatson.asp?/45.html"><span>What's On</span></a></li>
                    <li id="in_press_link"><a href="/inpress.asp"><span>In Press</span></a></li>
                </ul>
            </li>
            <li id="subscribe_link"><a href="/subscribe.asp"><span>Subscribe</span></a></li>
            <li id="stores_link"><a href="/stores.asp"><span>Stores</span></a></li>
            <li id="careers_link"><a href="/careers.asp?/47.html"><span>Careers</span></a>
                <ul id="career_sub_nav">
                   
         
                </ul></li>
            <li id="iphone_link"><a href="/iphoneapp.asp?/46.html"><span>iPhone App</span></a></li>
            <li id="iphone_link1"><a href="/zw/index.asp"><span>中文版</span></a></li>
        </ul>
    </div>
</div>
<div id="preloaded-images">
    <img src="/sites/all/themes/forevernew/images/interface/menu/home.jpg" width="1" height="1" alt="" />
    <img src="/sites/all/themes/forevernew/images/interface/menu/home_over.jpg" width="1" height="1" alt="" />
    <img src="/sites/all/themes/forevernew/images/interface/menu/headquarters.jpg" width="1" height="1" alt="" />
    <img src="/sites/all/themes/forevernew/images/interface/menu/headquarters_over.jpg" width="1" height="1" alt="" />
    <img src="/sites/all/themes/forevernew/images/interface/menu/brand_story.jpg" width="1" height="1" alt="" />
    <img src="/sites/all/themes/forevernew/images/interface/menu/brand_story_over.jpg" width="1" height="1" alt="" />
    <img src="/sites/all/themes/forevernew/images/interface/menu/design_philosophy.jpg" width="1" height="1" alt="" />
    <img src="/sites/all/themes/forevernew/images/interface/menu/design_philosophy_over.jpg" width="1" height="1" alt="" />
    <img src="/sites/all/themes/forevernew/images/interface/menu/careers.jpg" width="1" height="1" alt="" />
    <img src="/sites/all/themes/forevernew/images/interface/menu/careers_over.jpg" width="1" height="1" alt="" />
    <img src="/sites/all/themes/forevernew/images/interface/menu/collections.jpg" width="1" height="1" alt="" />
    <img src="/sites/all/themes/forevernew/images/interface/menu/collections_over.jpg" width="1" height="1" alt="" />
    <img src="/sites/all/themes/forevernew/images/interface/menu/news.jpg" width="1" height="1" alt="" />
    <img src="/sites/all/themes/forevernew/images/interface/menu/news_over.jpg" width="1" height="1" alt="" />
    <img src="/sites/all/themes/forevernew/images/interface/menu/whats_on.jpg" width="1" height="1" alt="" />
    <img src="/sites/all/themes/forevernew/images/interface/menu/whats_on_over.jpg" width="1" height="1" alt="" />
    <img src="/sites/all/themes/forevernew/images/interface/menu/in_press.jpg" width="1" height="1" alt="" />
    <img src="/sites/all/themes/forevernew/images/interface/menu/in_press_over.jpg" width="1" height="1" alt="" />
    <img src="/sites/all/themes/forevernew/images/interface/menu/subscribe.jpg" width="1" height="1" alt="" />
    <img src="/sites/all/themes/forevernew/images/interface/menu/subscribe_over.jpg" width="1" height="1" alt="" />
    <img src="/sites/all/themes/forevernew/images/interface/menu/stores.jpg" width="1" height="1" alt="" />
    <img src="/sites/all/themes/forevernew/images/interface/menu/stores_over.jpg" width="1" height="1" alt="" />
    <img src="/sites/all/themes/forevernew/images/interface/menu/stores.jpg" width="1" height="1" alt="" />
    <img src="/sites/all/themes/forevernew/images/interface/menu/stores_over.jpg" width="1" height="1" alt="" />
    <img src="/sites/all/themes/forevernew/images/interface/nav_bg_over.jpg" width="1" height="1" alt="" />
    <img src="/sites/all/themes/forevernew/images/interface/menu/iphone.jpg" width="1" height="1" alt="" />
    <img src="/sites/all/themes/forevernew/images/interface/menu/iphone_over.jpg" width="1" height="1" alt="" />
</div>

<script type="text/javascript">document.write(unescape("%3Cscript src='http://www.' type='text/javascript'%3E%3C/script%3E"));</script>
<script type="text/javascript">var pageTracker = _gat._getTracker("UA-1502628-10");pageTracker._initData();pageTracker._trackPageview();</script>
<script type="text/javascript" src="/sites/all/modules/google_analytics/downloadtracker.js"></script>
</body>
</html>



[ 本帖最后由 xin圆圆 于 2010-11-4 03:07 编辑 ]
搜索更多相关主题的帖子: 斑竹 网页 
2010-11-04 02:59
dzt0001
Rank: 13Rank: 13Rank: 13Rank: 13
等 级:蒙面侠
威 望:5
帖 子:1281
专家分:4998
注 册:2005-10-12
得分:20 
楼主给的代码,我们没办法看到效果的。估计是IE对CSS的兼容性问题。

----我怎能在别人的苦难面前转过脸去----
2010-11-04 10:13
xin圆圆
Rank: 1
等 级:新手上路
帖 子:8
专家分:1
注 册:2010-11-4
得分:0 
我上传到我空间里了www.  COLLECTIONS 点这个就可以看到那问题了

[ 本帖最后由 xin圆圆 于 2010-11-4 15:25 编辑 ]
2010-11-04 12:30
dzt0001
Rank: 13Rank: 13Rank: 13Rank: 13
等 级:蒙面侠
威 望:5
帖 子:1281
专家分:4998
注 册:2005-10-12
得分:0 
以下是引用xin圆圆在2010-11-4 12:30:21的发言:

我上传到我空间里了www.  COLLECTIONS 点这个就可以看到那问题了
无法访问 Directory Listing Denied

----我怎能在别人的苦难面前转过脸去----
2010-11-04 14:57
xin圆圆
Rank: 1
等 级:新手上路
帖 子:8
专家分:1
注 册:2010-11-4
得分:0 
我地址发少一个字 我修改了

[ 本帖最后由 xin圆圆 于 2010-11-4 15:25 编辑 ]
2010-11-04 15:24
xin圆圆
Rank: 1
等 级:新手上路
帖 子:8
专家分:1
注 册:2010-11-4
得分:0 
回复 4楼 dzt0001
我地址发少一个字 是www.
2010-11-04 15:24
dzt0001
Rank: 13Rank: 13Rank: 13Rank: 13
等 级:蒙面侠
威 望:5
帖 子:1281
专家分:4998
注 册:2005-10-12
得分:0 
代码比较乱,估计是CSS兼容的问题,但不知道哪个属性IE6不支持。

----我怎能在别人的苦难面前转过脸去----
2010-11-04 16:56



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-324918-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.142421 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved