Search results
Results from the WOW.Com Content Network
Use a non-breaking space with or {} in empty cells to maintain the table structure. Custom CSS styling: Override the wikitable class defaults by explicitly specifying: border-collapse: collapse; border: none; Apply these styles to the table or specific cells using inline styles or a custom class.
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).
Note: Wikipedia:HTML 5#Table attributes. CSS to replace obsolete attributes for borders, padding, spacing, etc. Add a border around a table using the CSS property border: thickness style color;, for example border:3px dashed red. This example uses a solid (non-dashed) gray border that is one pixel wide:
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.
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
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 ...
Page layouts (using multiple columns, positioning elements, adding borders, etc.) should be done via CSS, not tables, whenever possible. Images and other embedded media should be positioned using standard image syntax. There are several templates available that will create preformatted multi-column layouts: see Help:Columns.