Tabletest: Difference between revisions
Created page with "→Tooltip table styling: .tooltip-table { border-collapse: collapse; width: auto; →Adjust width to fit content if needed: } .tooltip-table td { position: relative; text-align: center; →Center content horizontally: vertical-align: middle; →Center content vertically: padding: 0; →Remove padding around cells: border: 1px solid black; →Optional: keeps table borders visible: } →Tooltip styling: .tooltip-cell .tooltip-text { visibil..." |
No edit summary |
||
(23 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="tooltip-table" style="border-collapse: collapse; width: 10%;" | |||
|- | |||
| style="text-align: center; width: 16%; border: 1px solid black; padding: 0;" | {{#tag:div|[[File:Diamond.png|50px]]<span class="tooltip-text">[[File:glowtorch.png|500px]]</span>|div|class="tooltip-cell"}} | |||
| style="text-align: center; width: 16%; border: 1px solid black; padding: 0;" | {{#tag:div|[[File:Diamond.png|50px]]<span class="tooltip-text">[[File:LBGenesis.png|300px]]</span>|div|class="tooltip-cell"}} | |||
} | | style="text-align: center; width: 16%; border: 1px solid black; padding: 0;" | {{#tag:div|[[File:Diamond.png|50px]]<span class="tooltip-text">[[File:LBGenesis.png|300px]]</span>|div|class="tooltip-cell"}} | ||
|- | |||
<!-- Repeat similar rows to complete a 9x6 grid --> | |||
|} | |||
.tooltip-cell: | {| class="tooltip-table wikitable" style="width: 10%;" | ||
|- | |||
| style="text-align: center; width: 16%; padding: 0;" | {{#tag:div|[[File:Diamond.png|50px]]<span class="tooltip-text">[[File:glowtorch.png|500px]]</span>|div|class="tooltip-cell"}} | |||
} | | style="text-align: center; width: 16%; padding: 0;" | {{#tag:div|[[File:Diamond.png|50px]]<span class="tooltip-text">[[File:LBGenesis.png|300px]]</span>|div|class="tooltip-cell"}} | ||
| style="text-align: center; width: 16%; padding: 0;" | {{#tag:div|[[File:Diamond.png|50px]]<span class="tooltip-text">[[File:LBGenesis.png|300px]]</span>|div|class="tooltip-cell"}} | |||
|- | |||
<!-- Repeat similar rows as needed --> | |||
|} | |||
{| class="tooltip-table wikitable" style="width: 10%;" | |||
.tooltip-cell | |- | ||
| style="text-align: center; width: 16%; padding: 0;" | {{#tag:div|[[File:Diamond.png|50px]]<span class="tooltip-text">[[File:glowtorch.png|500px]]</span>|div|class="tooltip-cell"}} | |||
| style="text-align: center; width: 16%; padding: 0;" | {{#tag:div|[[File:Diamond.png|50px]]<span class="tooltip-text">[[File:LBGenesis.png|300px]]</span>|div|class="tooltip-cell"}} | |||
| style="text-align: center; width: 16%; padding: 0;" | {{#tag:div|[[File:Diamond.png|50px]]<span class="tooltip-text">[[File:LBGenesis.png|300px]]</span>|div|class="tooltip-cell"}} | |||
|- | |||
} | <!-- Repeat similar rows to complete a 9x6 grid --> | ||
|} |