标题:请教下一个问题ASP留言板框框问题
只看楼主
xin圆圆
Rank: 1
等 级:新手上路
帖 子:8
专家分:1
注 册:2010-11-4
结帖率:66.67%
已结贴  问题点数:20 回复次数:1 
请教下一个问题ASP留言板框框问题
IE8 IE6显示正常
IE7下显示不正常  
 我想问下如何让IE7 IE8显示正常!我网站www. 请高手指点我下 我代码放上来 帮我看下是那个CSS文件呢
程序代码:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.">
<html xmlns="http://www.">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>youwearsexy </title>
<meta name="keywords" content="youwearsexy " />
<meta name="description" content="youwearsexy " />
<link rel="shortcut icon" href="/sites/all/themes/forevernew/favicon.ico" type="image/x-icon" />
<script type="text/javascript">
function check(){
if (document.add.title.value==""){
alert('Please fill in the message title!');
document.add.title.focus();
return false;
}
if (document.add.name.value==""){
alert('Please fill in your name!');
document.add.name.focus();
return false;
}
if (document.add.tel.value==""){
alert('Please Contact!');
document.add.tel.focus();
return false;
}
if (document.add.body.value==""){
alert('Please fill Name!');
document.add.body.focus();
return false;
}
}
</script>

    <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";
        @import "/sites/all/themes/forevernew/css/forms.css";
    </style>
    <script type="text/javascript" src="/sites/all/themes/forevernew/js/dropdown.js"></script>
    <script type="text/javascript">

function AttachEvent(obj,evt,fnc,useCapture){
    if (!useCapture) useCapture=false;
    if (obj.addEventListener){
        obj.addEventListener(evt,fnc,useCapture);
        return true;
    } else if (obj.attachEvent) return obj.attachEvent("on"+evt,fnc);
    else{
        MyAttachEvent(obj,evt,fnc);
        obj['on'+evt]=function(){ MyFireEvent(obj,evt) };
    }
}

window.onload = function () {
    AttachEvent(document.getElementById('edit-date'), "focus", function () {if (document.getElementById('edit-date').value == 'dd') document.getElementById('edit-date').value = '';});
    AttachEvent(document.getElementById('edit-date'), "blur", function () {if (document.getElementById('edit-date').value == '') document.getElementById('edit-date').value = 'dd';});
    AttachEvent(document.getElementById('edit-month'), "focus", function () {if (document.getElementById('edit-month').value == 'mm') document.getElementById('edit-month').value = '';});
    AttachEvent(document.getElementById('edit-month'), "blur", function () {if (document.getElementById('edit-month').value == '') document.getElementById('edit-month').value = 'mm';});
    AttachEvent(document.getElementById('edit-year'), "focus", function () {if (document.getElementById('edit-year').value == 'yyyy') document.getElementById('edit-year').value = '';});
    AttachEvent(document.getElementById('edit-year'), "blur", function () {if (document.getElementById('edit-year').value == '') document.getElementById('edit-year').value = 'yyyy';});
    TJK_dropDown();
    if (document.getElementById('testfile'))
        SI.Files.stylizeById('testfile');
}
    </script>
    <!--[if lt IE 7]>
        <style type="text/css" media="screen">
            @import "/sites/all/themes/forevernew/css/forms_ie.css";
        </style>
        <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 id="form-page">
<div id="top_section">
    <div id="container">
        <div id="colleft">
            <h1><a href="/"><span>Forever New</span></a></h1>
            <h2 id="h2-subscribe"><span>Subscribe</span></h2>
            <div id="copy">
Join the YWS community. Sign up to be kept in the loop with all our exciting news, hot product, new looks, sales, competitions, new stores and so much more!<BR><BR><BR>Don't worry; we won't pass on your details! Check out our Privacy Policy.<BR><BR><BR>Can I stop receiving emails? Of course! If you'd like to unsubscribe, click here
            </div>
        </div>
        <div id="colright">
          <h3><span>Application</span></h3>
          <div id="feedback_container"><div id="feedback">* Please review the required fields below.</div></div>
          <div id="subscribe_form"><form action="add_book_pass.asp" method="post" name="add" onSubmit="return check()">
     <table width="218" border="0">    
  <tr>
    <td>First Name:</td>
    <td><label>
      <input name="title" type="text" size="30"/>
    </label></td>
  </tr>
  <tr>
    <td>Last Name:</td>
    <td><label><input name="name" type="text" size="30"/></label>
</td>
  </tr>
  <tr>
    <td>Email: &nbsp; &nbsp; &nbsp; &nbsp; </td>
    <td><label><input name="qq" type="text" size="30"/></label></td>
  </tr>
  <tr>
    <td>Confirm Email:</td>
    <td><label><input name="mail" type="text" size="30"/></label></td>
  </tr>
  <tr>
    <td>Postcode: &nbsp; &nbsp; </td>
    <td><label><input name="tel" type="text" size="30"/>
        <input name="sh" type="hidden" value="1" size="10"/></label></td>
  </tr>

  <tr>
    <td>Code:</td>
    <td>  <table width="218" border="0">
        <tr>
          <td width="75"><input type="password" name="VerifyCode"  style="width:60px; border:solid 1px #cadcb2; font-size:12px; color:#81b432;"></td>
          <td width="133"><img src="safecode.asp?" alt="图片看不清?点击重新得到验证码" width="60" height="20" style="cursor:hand;" onClick="this.src+=Math.random()" /></td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <td> </td>
    <td>
      <input type="submit" name="button" id="button" value="SUBMIT" />&nbsp;&nbsp;&nbsp;
    <input id="Button1" onClick="return ContactNull();" type="reset" value="Cancel" name="qu" />
    
    </td>
  </tr></table></form>
</div>
        </div>
    </div>
</div>
<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>
            <li id="iphone_link"><a href="/design.asp?/44.html"><span>iPhone App</span></a></li>
            <li id="collections_link"><a href="/collections.asp"><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" class="active"><span>Subscribe</span></a></li>
            <li id="stores_link"><a href="/stores.asp"><span>Stores</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>
搜索更多相关主题的帖子: ASP 留言 
2010-11-13 20:06
dzt0001
Rank: 13Rank: 13Rank: 13Rank: 13
等 级:蒙面侠
威 望:5
帖 子:1281
专家分:4998
注 册:2005-10-12
得分:20 
你不是单独为IE7链接了样式表吗?

----我怎能在别人的苦难面前转过脸去----
2010-11-14 09:58



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




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

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