I have a table structure similar to below:
TEST
-
This is the problem with display: block
.
Please refer the below link
http://thedesignspace.net/MT2archives/000376.html#.UUrg3FfCd1u
If you are hiding tr
, then use display: table-row
instead of display: block
to display that tr
.
If you are hiding td
, then use display: table-cell
instead of display: block
to display that td
.
Use table-row
, no block
when styling a tr
. Perfect!
讨论(0)
- 热议问题