Search results
Results from the WOW.Com Content Network
The Cascading Style Sheets (CSS) specification describes how elements of web pages are displayed by graphical browsers. Section 4 of the CSS1 specification defines a "formatting model" that gives block-level elements—such as p and blockquote—a width and height, and three levels of boxes surrounding it: padding, borders, and margins. [4]
This template produces a variety of boxes from preset options and from CSS. Template parameters [Edit template data] This template prefers inline formatting of parameters.
Style may be chosen specifically for a piece of content, see e.g., color; scope of parameters. Alternatively, style is specified for CSS selectors, expressed in terms of elements, classes, and ID's. This is done on various levels: Author style sheets, in this order: Note: See WP:CLASS for a list of all the style sheets loaded.
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).
In addition to the above, or alternatively, a local CSS can be set on the browser. If one uses multiple browsers, each can be set to a different CSS.
Color box size with black borders. Standard size. {{Color sample}} Color box size with black borders. Smaller size. {{Swatch inline}} orange {{Background color}} orange {{Rail color box}} A version with more display options. Part of Module:Adjacent stations , Orange {{Diagonal split color box}} Color box split diagonally. Standard size.
border-color (optional) can be any color that CSS understands, such as "blue", "black", "#FFAAAA" or "RGB(200, 100, 255)". The default is black. See also: List of colors and Web colors. tab-background (optional) is the image to use for the tab. This image must be 187px wide and 37px high.
Color box size with black borders. Standard size. {{Color sample}} Color box size with black borders. Smaller size. {{Swatch inline}} orange {{Background color}} orange {{Rail color box}} A version with more display options. Part of Module:Adjacent stations , Orange {{Diagonal split color box}} Color box split diagonally. Standard size.