Gpedia:Table dos and don'ts

Jump to navigation Jump to search
Tables are a great way to present data.
When you work with tables:
Green check.png Use wikitables, not HTML tables.
Green check.png Use class="wikitable" to apply standard style.
Green check.png Use short, self-explanatory captions and headers.
Green check.png Use CSS classes, not inline attributes, to set table style.
Green check.png Make columns sortable as appropriate.
Red x.svg Don't use tables for visual layout.
Red x.svg Don't use color alone to convey information.
Red x.svg Don't nest tables if avoidable.
Red x.svg Don't use scrolling tables in articles.
Red x.svg Don't split up sortable tables.

See also

The article is a derivative under the Creative Commons Attribution-ShareAlike License. A link to the original article can be found here and attribution parties here. By using this site, you agree to the Terms of Use. Gpedia Ⓡ is a registered trademark of the Cyberajah Pty Ltd.