User:SBJohnny/Transwiki:CSS Values

Note: This page was a candidate for speedy deletion. The user who listed it for deletion gave the following explanation: "I just transwikied this from en:wiki, but realised that there are better written articles on the subject in Category:CSS Programming, also most of this is not CSS specific, but general HTML."

I've been using the shortcuts here to help me make some templates, so I've userified it to my space rather than deleting. -- SB_Johnny | talk 19:38, 6 September 2006 (UTC)

(size)
Sizes ( width, height,font-size,border-width) in CSS take a number followed by one of the unit identifiers below.

(location)
Absolute or relative top (y) and left (x) position of a component.

border
Shorthand property for border-width, border-style,border-color affecting all 4 borders.

border-style

 * if only one value is passed it will affect all 4 borders.
 * if two values are passed, the first one will affect the horizontal borders and the second the vertical ones.
 * if four values are passed it will refer to the borders in this order: top, right, bottom, left

border-width

 * if only one value is passed it will affect all 4 borders.
 * if two values are passed, the first one will affect the horizontal borders and the second the vertical ones.
 * if four values are passed it will refer to the borders in this order: top, right, bottom, left

color
A CSS color value can be defined in RGB, HEX or by name. The system colors are based on the colors used by the client user interface. See List of colors for more information.

float
See also: clear,display