CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Steve Hebert's Development Blog

Steve's Blog - From .Net to dotMath and everything in between.

thead/tbody/tfoot tags on FireFox bug

This is more of an fyi post than anything because I didn't immediately find out about this behavior with a quick google search.

When toggling the display style of the tbody between "none" and "block", the FireFox rendering engine causes the resulting table to be completely misrendered.  Multiple columns under tbody will be rendered in the first column of the thead - throwing off thead columns greatly.  The toggling only makes subsequent renders worse.

IE will render this display style toggling perfectly fine. I have not tested this on any other browsers.


Comments

Ken Kolano said:

Unfortunately this is a rather long standing bug in Firefox. I first encountered it apox. 2 years ago now.

I believe the relevant Bugzilla entry is...
https://bugzilla.mozilla.org/show_bug.cgi?id=143397
...opened 2002-05-09 23:24 PDT :(
# May 24, 2006 5:29 PM

Steve Hebert's Development Blog said:

I blogged a few weeks ago about a firefox bug when toggling a tbody tag to display or hide.When declaring...
# June 7, 2006 1:35 PM
Check out Devlicio.us!

Our Sponsors