当前位置:编程学习 > C#/ASP.NET >>

firefox和IE的显示问题

我在做一个页面,其中有一个地方<table style="background-image: url(../images/down line.jpg); width: 100%" cellspacing="2">
                <tr>
                    <td style="width: 163px; height: 38px;">
                        <select id="selectkind" runat="server" style="width: 95px">
                            <option value="0" selected="selected">所有分类</option>
                        </select>……
该table中的图片在IE6中可以显示,但是到了火狐中就显示不出来,而且那个table中IE中正常都是在导航条下边的,可是到了火狐中就串到了导航条的右边,弄了好久也没解决问题!请问各位大侠怎么样才能让IE中的显示和火狐中一样!希望大位大侠帮帮忙,在线等!
全体代码如下!
<div id="logo" style="height: 42px">
            <h1 style="height: 42px; left: 0px; top: 0px; width: 768px;">
                <img src="../images/rounddl.jpg" style="width: 702px; height: 42px" /><a
                    href="../Admin/Login.aspx"><font size="1px">登录     </font></a>
                <font size="2px">|</font><a href="../Admin/reg.aspx"><font size="1px">    
                    注册</font></a></h1>
        </div>
        <div>
            <ul id="nav">
                <li><a href="../index.aspx" title="首页">  <strong>首页</strong> </a></li>
                <li><a href="../Travel/Travel.aspx" title="旅游"><strong>旅游</strong></a></li>
                <li><a href="../Food/Food.aspx" title="美食"><strong>美食</strong></a></li>
                <li class="active"><a href="../Shopping/Shopping.aspx" title="购物"><strong>购物</strong></a></li>
                <li><a href="../Happy/Happy.aspx" title="休闲娱乐"><strong>休闲娱乐</strong></a></li>
                <li><a href="../Hotel/Hotel.aspx" title="酒店宾馆"><strong>酒店宾馆</strong></a></li>
                <li><a href="../Map/map.aspx" title="地图搜索"><strong>地图搜索</strong></a></li>
            </ul>
        </div>
        <div id="search">
            <form method="get" action="http://www.google.com/search">
                <div id="s-text">
                    <input value="Search" name="s" id="s" type="text" />
                    <label for="s">
                        Search</label>
                </div>
                <div id="s-submit">
                    <input id="searchsubmit" value="" type="submit" />
                    <input type="hidden" name="ie" value="UTF-8" />
                    <input type="hidden" name="oe" value="UTF-8" />
                    <input type="hidden" name="hl" value="zh-CN" />
                    <input type="hidden" name="domains" value="http://www.rounddl.com/" />
                    <input type="hidden" name="sitesearch" value="http://www.rounddl.com/" />
                </div>
            </form>
        </div>
        <!-- end header -->
        <div id="page" style="width: 768px; height: 38px; padding-left: 0px; padding-bottom: 0px; padding-top: 0px">
            <table style="background-image: url(../images/down line.jpg); width: 100%" cellspacing="2">
                <tr>
                    <td style="width: 163px; height: 38px;">
                        <select id="selectkind" runat="server" style="width: 95px">
                            <option value="0" selected="selected">所有分类</option>
                        </select>
                    </td>
                    <td style="width: 163px; height: 38px;">
                        <select id="selectarea" runat="server">
                            <option value="1" selected="selected">所有地区</option>
                        </select>
                    </td>
                    <td style="width: 163px; height: 38px;">
                        <input type="button" id="btnsearch" name="搜索" value="搜索" runat="server" />
                    </td>
                    <td align="right" style="width: 163px; height: 38px;">
                        <a href="#" style="color: White">+添加商户</a>
                    </td>
                </tr>
            </table> --------------------编程问答-------------------- 估计有某个标签没关闭。 --------------------编程问答-------------------- ·双线主机 100M/35元/年,免费送数据库(自选MY/MSSQL)
·支持ASP+ASP.NET+PHP+HTML
·详情请访问:http://www.515dns.com
·QQ:287895593 --------------------编程问答-------------------- 等了几个小时也没人回我!问题也没有得到解决!郁闷! --------------------编程问答-------------------- 2楼这样的真烦人。。 --------------------编程问答-------------------- 把你UP 一下!我没用过 火狐! --------------------编程问答-------------------- 2楼烦人!火狐更烦人!可是问题总得解决啊!在线等! --------------------编程问答-------------------- firefox不会忽视空格比较麻烦
补充:.NET技术 ,  ASP.NET
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,