html - Collapsed table borders in firefox sometimes missing -
Elements of the table in HTML spec are allowed for the tag
. I have a case where Firefox does not want to handle collapsed boundaries.
Actually, it seems that if any any
contains hidden content (only?), Then it fails to render borders right for the right table is.
Is there any way to attract the boundaries correctly?
I have not tried to break the boundaries, which seems to work, but leave aside this specific table which looks different than other tables on the site.
Code sample for the above link:
with several `TVs` elements: & lt; Table class = "main content" & gt; & Lt; Thead & gt; & Lt; TR & gt; & Lt; Th & gt; Hi & lt; / Th & gt; & Lt; Th & gt; There & lt; / Th & gt; & Lt; / TR & gt; & Lt; / Thead & gt; & Lt; Tbody & gt; & Lt; TR & gt; & Lt; TD & gt; Hi & lt; / TD & gt; & Lt; TD & gt; There & lt; / TD & gt; & Lt; / TR & gt; & Lt; / Tbody & gt; & Lt; Tbody & gt; & Lt; TR & gt; & Lt; TD & gt; Hi & lt; / TD & gt; & Lt; TD & gt; There & lt; / TD & gt; & Lt; / TR & gt; & Lt; / Tbody & gt; & Lt; Tbody & gt; & Lt; TR & gt; & Lt; TD & gt; Hi & lt; / TD & gt; & Lt; TD & gt; There & lt; / TD & gt; & Lt; / TR & gt; & Lt; / Tbody & gt; & Lt; Tbody & gt; & Lt; TR & gt; & Lt; TD & gt; Hi & lt; / TD & gt; & Lt; TD & gt; There & lt; / TD & gt; & Lt; / TR & gt; & Lt; / Tbody & gt; & Lt; Tbody & gt; & Lt; TR & gt; & Lt; TD & gt; Hi & lt; / TD & gt; & Lt; TD & gt; There & lt; / TD & gt; & Lt; / TR & gt; & Lt; / Tbody & gt; & Lt; / Table & gt; & Lt; Br / & gt; & Lt; Br / & gt;
This is a very strange behavior, probably in my opinion there is a bug.
I tried to solve it with some solution and first successfully posted a t
to tag
tag tag
tag Had to implement, but then I thought that maybe you have a reason to apply it to the table row, so I turned to the " descendant selector " technology.
The only difference is that to set the .hide
class on display: TD
TR
none in the HTML come into force.
.hide td {display: none; }
Comments
Post a Comment