Search results
Results From The WOW.Com Content Network
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).
border-collapse: separate; by default, which prevents adjacent cells from not having a border separating them without centering/merging the cell contents. Enforced borders that appear between cells unless they align perfectly along the same row or column.
Content border: border2: CSS border styling to add to the content. Default 1px silver: String: optional: Content background color: bg2: Background color to use for expanded content. Default white: String: optional: Font color for inside box: fc2: The color of the font inside the collapsed box. Can be any valid CSS color. Example inherit: String ...
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:
Elements are made collapsible by adding the mw-collapsible class, or alternatively by using the {} template, or its variants {{Collapse top}} and {{Collapse bottom}}. Use of these features in article content is governed by the guidelines Wikipedia:Manual of Style § Scrolling lists and collapsible content generally, and more specifically by ...
For example, {{collapse top|This is the title text|bg=#F0F2F5}} or {{collapse top|This is the title text|bg=LightGrey}} (HTML hex color codes require the leading #). |fc= Sets the font color of the title of the collapsible bar. Defaults to inheriting the current text color of the context. See |bg=, above, for details on color options. |border=
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:
Content border: border2: CSS border styling to add to the content. Default 1px silver: String: optional: Content background color: bg2: Background color to use for expanded content. Default white: String: optional: Font color for inside box: fc2: The color of the font inside the collapsed box. Can be any valid CSS color. Example inherit: String ...