Forum Moderators: open

Message Too Old, No Replies

Firefox and IE nested table display problem

Firefox and IE

         

DougWD

7:11 am on Jun 16, 2005 (gmt 0)

10+ Year Member



Can someone tell me why IE explorer will display a page with nested tables, only two deep, without problems, but Firefox seeems to ignore the nested table's inline styles, sich as <td> 50% and the nested table's width in %, which is 95%.

The problem is that Firefox wants to set everything left justified in the nested table, which is set in the main table's right <td> (Both tables are two columns with multiple rows).

The only thing I can figure is that Firefox is seeing the main tables positioning, which is default, and even though the main table's <td> where the nested table is is set to center, and the nested table itself is set to center, Firefox collapses everything in the nested table to the left, as if the table was set to 1 px. I have images in the nested table <td> so it won't collapse completely, but it destroys the design.

Thanks

[edited by: BlobFisk at 9:05 am (utc) on June 16, 2005]

keyplyr

12:57 am on Jun 18, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Doug, I can only assume you are not using a full DOCTYPE DECLARATION [htmlhelp.com] (installed at the top of each page mark-up, above <HTML>.) Using a full DTD will have IE and other browsers display your mark-up in standards compliant mode [webmasterworld.com]. Your webpage will then display pretty much the same on most browser types.

Without this full DTD (including the URL to the W3C), the browser renders the code in quirks mode [webmasterworld.com] which is volatile and undependable and which is probably the cause of the discrepancy between FF and IE.