注册 登录
编程论坛 ASP技术论坛

问个ASP比较简单的问题

xin圆圆 发布于 2010-11-08 18:00, 431 次点击
只有本站会员才能查看附件,请 登录
如何把HOME 和后面所有的字 靠右移动呢
程序代码:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.
>
<html xmlns="http://www. xml:lang="en" lang="en">
<!--#include file="conn.asp"-->
<!--#include file="config.asp" -->
<!--#include file="Sql.Asp" -->
<!--#include file="w78_sql.asp"-->
<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="alternate" type="application/rss+xml" title="Forever New RSS" href="http://www. />

<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>
    <style type="text/css">
        #front_image
{background:url(files/WEBSITE-HOMEPAGE2.jpg) no-repeat center 0;}
        
/*#front_content a {background:url(/competition.png);} */
        #competition-tag
{background:url(/sites/all/themes/forevernew/images/competition/competition-tag.png) no-repeat;}
      
        #dash-will  
{
            width
:311px;
            height
:56px;
            position
:absolute;
            bottom
:-108px;
            background
:url(/sites/all/themes/forevernew/images/dash-will.jpg);
            background-repeat
:no-repeat;
            left
:40px;
            display
:none;
        
}
      
      
        
   
</style>
    <!--[if IE]>
            <style>#nav_front_section {margin-left:1px;} </style>
    <![endif]
-->
    <!--[if gte IE 5.5]>
        <!--[if lt IE 7]>
            <!--<script defer type="text/javascript" src="/bgsleight.js"></script>
-->
            <style type="text/css">
#front_image h1
{_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://', sizingMethod='scale');}
#competition-tag
{_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://', sizingMethod='scale');}

            
</style>
        <![endif]-->
    <![endif]-->
    <script type="text/javascript" src="/sites/all/themes/forevernew/js/dropdown_front.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]
-->
    <!--[if lt IE 8]>
        <style type="text/css">
        #sub_menu_background { z-index:-5;}
        </style>
    <![endif]
-->
    <link rel="Shortcut Icon" type="image/x-icon" href="/sites/all/themes/forevernew/favicon.ico" />
</head>
<body>

<div id="front_image">
    <div id="top_front_section">
        <div id="front_content">
            <!--<a style="position:absolute;left:0px;top:0px;width:343px;height:213px;" href="/competition"></a>-->
            <h1><span>Forever New</span></h1>
            <a href="http:// id="dash-will" target="_blank"></a>
        </div>
    </div>
    <div id="nav_front_section">
        <div id="navbar_background">
           
            <div id="navbar">
                <ul id="TJK_dropDownMenu">
                    <li id="home_link" class="msieFix"><a href="/" class="active"><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"><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="sub_menu_background" class="hidden">
      
        </div>
      
    </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_frontbg_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>
2 回复
#2
towering2010-11-08 22:47
看CSS文件
#3
hams2010-11-09 08:08
这个不是ASP的问题
1