Search results
Results From The WOW.Com Content Network
Also, if the table has cell spacing (and thus border-collapse=separate), meaning that cells have separate borders with a gap in between, that gap will still be visible. A cruder way to align columns of numbers is to use a figure space   or  , which is intended to be the width of a numeral, though is font-dependent in practice:
border-collapse:collapse This style will eliminate 3-d style borders created by the border attribute and collapse them in 1px wide borders. This property will override cellspacing! To define similar whitespace, use the border-spacing property (although it is not possible to have both border-spacing and border-collapse for the same table).
MediaWiki’s wikitable class (class="wikitable") is designed for straightforward table formatting and enforces certain global styles that make removing borders between adjacent cells challenging even if custom CSS styles attempt to eliminate these borders. Specifically, the class includes:
A table is an arrangement of columns and rows that organizes and positions data or images. Tables can be created on Wikipedia pages using special wikitext syntax, and many different styles and tricks can be used to customise them.
hide, collapse, collapsed, or mw-collapsed: Uses the mw-collapsible collapsed classes to make the table collapsed with a [show] link to reveal the table. auto or autocollapse: Uses the mw-collapsible autocollapse classes to make the table collapsible, but only collapse it if there are three or more collapsible tables on the page; inner or ...
Adding the mw-collapsible class to a table automatically positions the toggle, and selects which parts to collapse. A common use is to make a collapsible layout table, which always displays an introduction or summary, but hides the rest of the content from immediate view.
Color of the space between the inner and outer border. Can be set to any valid CSS color. Default transparent: String: optional: Outer border color: b-color: Color of the outer border. Can be any valid CSS color. Default silver: String: optional: Collapse box width: width: The width of the entire collapsed box. Default 100%: String: optional ...
In general, styles for tables and other block-level elements should be set using CSS classes, not with inline style attributes. This is because the site-wide CSS is more carefully tested to ensure compatibility with a wide range of browsers; it also creates a greater degree of professionalism by ensuring a consistent appearance between articles.