模板讨论:上古切韵
表格备注
none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|initial|inherit;──以上未签名的留言由107.77.226.109(讨论)于2021年11月20日 (六) 20:43 (UTC)加入。
A bug in class wikitable
It is possible to remove borders between adjacent cells in tables, for example when you want a non-rectangular super-cell.
In this table the yellow cells are set up for exactly that. But, why are there borders anyway?
aaaaa | bbbbb | to this |
cccccc | connected | |
this cell | ddddd | |
eeeee | ffffffff |
aaaaa | bbbbb | to this |
cccccc | connected | |
this cell | ddddd | |
eeeee | ffffffff |
If you remove class=wikitable it is possible to see that the table is correctly set up:
aaaaa | bbbbb | to this |
cccccc | connected | |
this cell | ddddd | |
eeeee | ffffffff |
Class wikitable demands that the border between two cells ONLY disappears when the cells begin on the SAME row (or column for vertical effect).
Solution: cut them up into pieces! And forget the centering of the text. Don't forget to fill the new cells with nothing (nbsp). Here with darker yellow:
aaaaa | bbbbb | to this |
cccccc | connected | |
this cell | ddddd | |
eeeee | ffffffff |