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).
The width (thickness) of the border (default is 1px). style The border's style solid (default if the parameter is not used), dotted, dashed, double, groove, ridge, inset or outset. style2 Additional CSS properties can be used in this template. color The border's color (default #ddd, otherwise recommend a named color).
The width (thickness) of the border (default is 1px). style The border's style solid (default if the parameter is not used), dotted, dashed, double, groove, ridge, inset or outset. style2 Additional CSS properties can be used in this template. color The border's color (default #ddd, otherwise recommend a named color).
Custom styles can be placed in each user's personal CSS files, ... /* Save space in list of templates displayed at end of page ... {width: 10.7 em; border: none ...
Our "Cheatsheet" is a good starting point for learning basic Wikipedia formatting.A more complete guide is here.. You can take some formatting tips from the standard way Wikipedia articles are laid out.
The 2px wide border between groups and lists is drawn using the border-left property of the list cell. Thus, if you wish to change the background color of the template (for example bodystyle = background:purple; ), then you'll need to make the border-left-color match the background color (i.e. liststyle = border-left-color: purple; ).
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:
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: