Firefox tr填充噩梦 [英] Firefox tr padding nightmare

查看:78
本文介绍了Firefox tr填充噩梦的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下代码在IE中呈现完美,但Firefox在我的< tr>之间添加了巨大的填充。标签。


我试过应用< table cellpadding = 0 cellspacing = 0>。它减少了额外的空间,因此它甚至不值得。事实上,它弥补了IE中的差距,而不是大的不必要的Firefox差距。


必须有办法解决这个问题 - 有这么多对于firefox感到高兴的人我觉得很难相信珍贵的浏览器无法在不暴露巨大空白的情况下渲染我的.net控件???


请帮助说服我Micro $ oft并不是目前唯一能够可靠的。请继续发帖,我相信这不是一件容易的事情。


谢谢。



[HTML]< table>


< tr>

< td>

< p>< b>位置:< / b>< / p>

< / td>

< td>

< asp:DropDownList ID =" DropDownList1" RUNAT = QUOT;服务器"字体-名称= QUOT; Arial字体"前景色= QUOT;#465D7E"宽度= QUOT; 180像素" Font-Size =" X-Small">

< asp:ListItem> -Select Here-< / asp:ListItem>

< asp:ListItem> ;< / asp:ListItem>

< asp:ListItem>< / asp:ListItem>

< asp:ListItem>< / asp:ListItem>

< / asp:DropDownList>

< / td>

< / tr>



< tr>

< td>

< p>< b>职位:< / b>< / p> ;

< / td>

< td>

< asp:DropDownList ID =" DropDownList2" RUNAT = QUOT;服务器"字体-名称= QUOT; Arial字体"前景色= QUOT;#465D7E"宽度= QUOT; 180像素" Font-Size =" X-Small">

< asp:ListItem> -Select Here-< / asp:ListItem>

< asp:ListItem> ;< / asp:ListItem>

< asp:ListItem>< / asp:ListItem>

< asp:ListItem>< / asp:ListItem>

< / asp:DropDownList>

< / td>

< / tr>



< tr>

< td>

< p>< b>类型:< / b>< / p> ;

< / td>

< td>

< asp:DropDownList ID =" DropDownList3" RUNAT = QUOT;服务器"字体-名称= QUOT; Arial字体"前景色= QUOT;#465D7E"宽度= QUOT; 180像素" Font-Size =" X-Small">

< asp:ListItem> -Select Here-< / asp:ListItem>

< asp:ListItem> ;< / asp:ListItem>

< asp:ListItem>< / asp:ListItem>

< asp:ListItem>< / asp:ListItem>

< / asp:DropDownList>

< / td>

< / tr>



< tr>

< td>

< / td>

< td>

< asp:按钮ID =" Button1" RUNAT = QUOT;服务器"文字=显示可用的工作字体-名称= QUOT; Arial字体"字体尺寸= QUOT; 8PT"前景色= QUOT;#465D7E" />

< / td>

< / tr>


< / table> [/ HTML]


PS如果你想看到这个例子,请问...我会发布网址。 TY

The following code renders perfect in IE, but Firefox adds immense padding in between my <tr> tags.

I have tried applying <table cellpadding = 0 cellspacing = 0>. It decreases the extra space so slightly its not even worth it. As a matter of fact, it closes the nice gaps in IE more than it does the large unwanted firefox gaps.

There has to be a way to fix this--there are so many people who are diehard slap happy about firefox I find it hard to believe the precious browser can''t render my .net controls without exposing immense gaps???

Please help persuade me that Micro$oft is not the only one capable of being dependable these days. Please keep on post too, I''m sure this won''t be an easy fix.

Thanks.


[HTML]<table>


<tr>
<td>
<p><b>Location:</b></p>
</td>
<td>
<asp:DropDownList ID="DropDownList1" runat="server" Font-Names="Arial" ForeColor="#465D7E" Width="180px" Font-Size="X-Small">
<asp:ListItem>-Select Here-</asp:ListItem>
<asp:ListItem></asp:ListItem>
<asp:ListItem></asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
</td>
</tr>


<tr>
<td>
<p><b>Position:</b></p>
</td>
<td>
<asp:DropDownList ID="DropDownList2" runat="server" Font-Names="Arial" ForeColor="#465D7E" Width="180px" Font-Size="X-Small">
<asp:ListItem>-Select Here-</asp:ListItem>
<asp:ListItem></asp:ListItem>
<asp:ListItem></asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
</td>
</tr>


<tr>
<td>
<p><b>Type:</b></p>
</td>
<td>
<asp:DropDownList ID="DropDownList3" runat="server" Font-Names="Arial" ForeColor="#465D7E" Width="180px" Font-Size="X-Small">
<asp:ListItem>-Select Here-</asp:ListItem>
<asp:ListItem></asp:ListItem>
<asp:ListItem></asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
</td>
</tr>


<tr>
<td>
</td>
<td>
<asp:Button ID="Button1" runat="server" Text="Show available jobs" Font-Names="Arial" Font-Size="8pt" ForeColor="#465D7E" />
</td>
</tr>


</table>[/HTML]

P.S. If you would like to see this example live please ask...I''ll post URL. TY

推荐答案

oft并不是唯一一个能够在这些日子里变得可靠的人。请继续发帖,我相信这不是一件容易的事情。


谢谢。



[HTML]< table>


< tr>

< td>

< p>< b>位置:< / b>< / p>

< / td>

< td>

< asp:DropDownList ID =" DropDownList1" RUNAT = QUOT;服务器"字体-名称= QUOT; Arial字体"前景色= QUOT;#465D7E"宽度= QUOT; 180像素" Font-Size =" X-Small">

< asp:ListItem> -Select Here-< / asp:ListItem>

< asp:ListItem> ;< / asp:ListItem>

< asp:ListItem>< / asp:ListItem>

< asp:ListItem>< / asp:ListItem>

< / asp:DropDownList>

< / td>

< / tr>



< tr>

< td>

< p>< b>职位:< / b>< / p> ;

< / td>

< td>

< asp:DropDownList ID =" DropDownList2" RUNAT = QUOT;服务器"字体-名称= QUOT; Arial字体"前景色= QUOT;#465D7E"宽度= QUOT; 180像素" Font-Size =" X-Small">

< asp:ListItem> -Select Here-< / asp:ListItem>

< asp:ListItem> ;< / asp:ListItem>

< asp:ListItem>< / asp:ListItem>

< asp:ListItem>< / asp:ListItem>

< / asp:DropDownList>

< / td>

< / tr>



< tr>

< td>

< p>< b>类型:< / b>< / p> ;

< / td>

< td>

< asp:DropDownList ID =" DropDownList3" RUNAT = QUOT;服务器"字体-名称= QUOT; Arial字体"前景色= QUOT;#465D7E"宽度= QUOT; 180像素" Font-Size =" X-Small">

< asp:ListItem> -Select Here-< / asp:ListItem>

< asp:ListItem> ;< / asp:ListItem>

< asp:ListItem>< / asp:ListItem>

< asp:ListItem>< / asp:ListItem>

< / asp:DropDownList>

< / td>

< / tr>



< tr>

< td>

< / td>

< td>

< asp:按钮ID =" Button1" RUNAT = QUOT;服务器"文字=显示可用的工作字体-名称= QUOT; Arial字体"字体尺寸= QUOT; 8PT"前景色= QUOT;#465D7E" />

< / td>

< / tr>


< / table> [/ HTML]


PS如果你想看到这个例子,请问...我会发布网址。 TY
oft is not the only one capable of being dependable these days. Please keep on post too, I''m sure this won''t be an easy fix.

Thanks.


[HTML]<table>


<tr>
<td>
<p><b>Location:</b></p>
</td>
<td>
<asp:DropDownList ID="DropDownList1" runat="server" Font-Names="Arial" ForeColor="#465D7E" Width="180px" Font-Size="X-Small">
<asp:ListItem>-Select Here-</asp:ListItem>
<asp:ListItem></asp:ListItem>
<asp:ListItem></asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
</td>
</tr>


<tr>
<td>
<p><b>Position:</b></p>
</td>
<td>
<asp:DropDownList ID="DropDownList2" runat="server" Font-Names="Arial" ForeColor="#465D7E" Width="180px" Font-Size="X-Small">
<asp:ListItem>-Select Here-</asp:ListItem>
<asp:ListItem></asp:ListItem>
<asp:ListItem></asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
</td>
</tr>


<tr>
<td>
<p><b>Type:</b></p>
</td>
<td>
<asp:DropDownList ID="DropDownList3" runat="server" Font-Names="Arial" ForeColor="#465D7E" Width="180px" Font-Size="X-Small">
<asp:ListItem>-Select Here-</asp:ListItem>
<asp:ListItem></asp:ListItem>
<asp:ListItem></asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
</td>
</tr>


<tr>
<td>
</td>
<td>
<asp:Button ID="Button1" runat="server" Text="Show available jobs" Font-Names="Arial" Font-Size="8pt" ForeColor="#465D7E" />
</td>
</tr>


</table>[/HTML]

P.S. If you would like to see this example live please ask...I''ll post URL. TY


发布网址比复制/粘贴标记更容易调试。
Posting the url is frequently easier to debug than copying/pasting markup.

我发现很难相信珍贵浏览器无法呈现我的.net控件而不会暴露巨大的空白???
I find it hard to believe the precious browser can''t render my .net controls without exposing immense gaps???



.NET内容因创建无效标记而臭名昭着但我还没有检查过你。

.NET stuff is notorious for creating invalid markup but I haven''t checked yours yet.


请帮助说服Micro
Please help persuade me that Micro


oft不是唯一一个能够可靠的人。
oft is not the only one capable of being dependable these days.



IE的首席开发人员Chris Wilson表示,IE远远落后于所有其他浏览器的Web标准。事实上,所有版本的IE都落后于网络标准九年。然而,所有其他浏览器,现在是合理的。

现在,在我被叫走之前查看你的标记。

Chris Wilson, the lead developer for IE, has said IE is far behind all other browsers is web standards. In fact, All versions of IE are nine years behind web standards. All other browsers, however, are reasonably current.
Now, onto looking at your markup before I get called away.


这篇关于Firefox tr填充噩梦的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆