搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.