FANDOM


The Wiki's general table style

For some reason some tables are not styled automatically. To manually do that add class="wikitable" to the first line of the table.

Example


{| class="wikitable"
 | + Caption of example table
 |-
 | I'm a td
 |}


Nested tables without borders

When nesting tables, the td will inherit borders. Sometimes that is not desirable. Such a scenario is when the nested table is used for aligning/formatting only, e.g. as a more spaced-out <br />.

In this case <style="border:0px"> | will have to be added in front of each data cell (denoted with |)

Example


{| border="1" class="wikitable"
 | 
 {| border="1" style="border: 1px dotted #1957ba"
  | style="border:0px" | Nested table cell without borders
  |-
  | Nested table cell by default with borders
  |}
 | Cell of main table
 |}

Result
Nested table cell without borders
Nested table cell by default with borders
Cell of main table

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.