为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Table is hidden when it should be shown in Firefox 9

more options

I have an web application that renders an html table. In IE this code shows fine:

table id="form1:table1" style="width: 100%;width: 100%" border="0" cellpadding="0" cellspacing="0"

Firefox 9 is adding the element hidden and therefore the table is not showing up.

table id="form1:table1" hidden="" style="width: 100%;width: 100%" border="0" cellpadding="0" cellspacing="0"

I've used Fiddler and can see that the generated html is like it is when I access the page using IE. Why is Firefox adding this element? I think its a bug. Help please!

I have an web application that renders an html table. In IE this code shows fine: table id="form1:table1" style="width: 100%;width: 100%" border="0" cellpadding="0" cellspacing="0" Firefox 9 is adding the element hidden and therefore the table is not showing up. table id="form1:table1" hidden="" style="width: 100%;width: 100%" border="0" cellpadding="0" cellspacing="0" I've used Fiddler and can see that the generated html is like it is when I access the page using IE. Why is Firefox adding this element? I think its a bug. Help please!

由mjthalen于修改

所有回复 (1)

more options

Hmmm, I wasn't aware of the hidden attribute. Do any of your scripts branch on which browser is being used, or whether they support HTML5?

This forum focuses on end-user support. You can find more web development help on the mozillaZine Web Development board. Separate forum, separate registration.