|
|
Syntax: font-family: family-name
Possible Values:
Any font family name may be used, specific or generic.
serif (e.g., Times)
sans-serif (e.g., Arial or Helvetica)
cursive (e.g., Zapf-Chancery)
fantasy (e.g., Western)
monospace (e.g., Courier)
Initial Value: Determined by browser
Applies to: All elements
Inherited: Yes
|
|
|
Syntax: font-style: value
Possible Values: normal | italic | oblique
Initial Value: normal
Applies to: All elements
Inherited: Yes
|
|
|
Syntax: font-variant: value
Possible Values: normal | small-caps
Initial Value: normal
Applies to: All elements
Inherited: Yes
|
|
|
Syntax: font-weight: value
Possible Values: normal | bold | bolder | lighter | 100 - 900|
Initial Value: normal
Applies to: All elements
Inherited: Yes
|
|
|
Syntax: font-size: absolute-size | relative-size | length | percentage
Possible Values:
absolute-size
xx-small | x-small | small | medium | large | x-large | xx-large
relative-size
larger | smaller
length
percentage (in relation to parent element)
Initial Value: medium
Applies to: All elements
Inherited: Yes
|
|
|
Syntax: word-spacing: value
Possible Values: normal | length
Initial Value: normal
Applies to: All elements
Inherited: Yes
|
|
|
Syntax: letter-spacing: value
Possible Values: normal | length
Initial Value: normal
Applies to: All elements
Inherited: Yes
|
|
|
Syntax: text-decoration: value
Possible Values: none | underline | overline | line-through | blink
Initial Value: none
Applies to: All elements
Inherited: No
|
|
|
Syntax: vertical-align: value
Possible Values: baseline | sub | super | top | text-top | middle | bottom | text-bottom | percentage
Initial Value: baseline
Applies to: Inline elements
Inherited: No
|
|
|
Syntax: text-transform: value
Possible Values: none | capitalize | uppercase | lowercase
Initial Value: none
Applies to: All elements
Inherited: Yes
|
|
|
Syntax: text-align: value
Possible Values: left | right | center | justify
Initial Value: Determined by browser
Applies to: Block-level elements
Inherited: Yes
|
|
|
Syntax: text-indent: value
Possible Values: length | percentage
Initial Value: 0
Applies to: Block-level elements
Inherited: Yes
|
|
|
Syntax: line-height: value
Possible Values: normal | number | length | percentage
Initial Value: normal
Applies to: All elements
Inherited: Yes
|
|
|
Syntax: color: color
Possible values: Hexadecimal Color Codes
Initial Value: Determined by browser
Applies to: All elements
Inherited: Yes
|
|
|
Syntax: background-color: value
Possible Values: color | transparent
Initial Value: transparent
Applies to: All elements
Inherited: No
|
|
|
Syntax: background-image: value
Possible Values: url | none
Initial Value: none
Applies to: All elements
Inherited: No
|
|
|
Syntax: background-repeat: value
Possible Values: repeat | repeat-x | repeat-y | no-repeat
Initial Value: repeat
Applies to: All elements
Inherited: No
|
|
|
Syntax: background-attachment: value
Possible Values: scroll | fixed
Initial Value: scroll
Applies to: All elements
Inherited: No
|
|
|
Syntax: background-position: value
Possible Values: percentage | length(1,2) | top | center | bottom |left | center | right
Initial Value: 0% 0%
Applies to: Block-level and replaced elements
Inherited: No
|
|
|
Syntax: margin-top: value
Possible Values: length | percentage | auto
Initial Value: 0
Applies to: All elements
Inherited: No
|
|
|
Syntax: margin-right: value
Possible Values: length | percentage | auto
Initial Value: 0
Applies to: All elements
Inherited: No
|
|
|
Syntax: margin-bottom: value
Possible Values: length | percentage | auto
Initial Value: 0
Applies to: All elements
Inherited: No
|
|
|
Syntax: margin-left: value
Possible Values: length | percentage | auto
Initial Value: 0
Applies to: All elements
Inherited: No
|
|
|
Syntax: margin: value
Possible Values: [ length | percentage | auto ]{1,4}
Initial Value: Not defined
Applies to: All elements
Inherited: No
|
|
|
Syntax: padding-top: value
Possible Values: length | percentage
Initial Value: 0
Applies to: All elements
Inherited: No
|
|
|
Syntax: padding-right: value
Possible Values: length | percentage
Initial Value: 0
Applies to: All elements
Inherited: No
|
|
|
Syntax: padding-bottom: value
Possible Values: length | percentage
Initial Value: 0
Applies to: All elements
Inherited: No
|
|
|
Syntax: padding-left: value
Possible Values: length | percentage
Initial Value: 0
Applies to: All elements
Inherited: No
|
|
|
Syntax: padding: value
Possible Values: [ length | percentage ]{1,4}
Initial Value: 0
Applies to: All elements
Inherited: No
|
|
|
Syntax: border-top-width: value
Possible Values: thin | medium | thick | length
Initial Value: medium
Applies to: All elements
Inherited: No
|
|
|
Syntax: border-right-width: value
Possible Values: thin | medium | thick | length
Initial Value: medium
Applies to: All elements
Inherited: No
|
|
|
Syntax: border-bottom-width: value
Possible Values: thin | medium | thick | length
Initial Value: medium
Applies to: All elements
Inherited: No
|
|
|
Syntax: border-left-width: value
Possible Values: thin | medium | thick | length
Initial Value: medium
Applies to: All elements
Inherited: No
|
|
|
Syntax: border-width: value
Possible Values: [ thin | medium | thick | length ]{1,4}
Initial Value: Not defined
Applies to: All elements
Inherited: No
|
|
|
Syntax: border-color: value
Possible Values: color{1,4}
Initial Value: The value of the color property
Applies to: All elements
Inherited: No
|
|
|
Syntax: border-style: value
Possible Values: [ none | dotted | dashed | solid | double | groove | ridge | inset | outset ]{1,4}
Initial Value: none
Applies to: All elements
Inherited: No
|
|
|
Syntax: width: value
Possible Values: length | percentage | auto
Initial Value: auto
Applies to: Block-level and replaced elements
Inherited: No
|
|
|
Syntax: height: value
Possible Values: length | auto
Initial Value: auto
Applies to: Block-level and replaced elements
Inherited: No
|
|
|
Syntax: float: value
Possible Values: left | right | none
Initial Value: none
Applies to: All elements
Inherited: No
|
|
|
Syntax: clear: value
Possible Values: none | left | right | both
Initial Value: none
Applies to: All elements
Inherited: No
|
|
|
Syntax: white-space: value
Possible Values: normal | pre | nowrap
Initial Value: normal
Applies to: All elements
Inherited: Yes
|
|
|
Syntax: list-style-type: value
Possible Values: disc | circle | square | decimal | lower-roman | upper-roman | lower-alpha | upper-alpha | none
Initial Value: disc
Applies to: Elements with display value list-item
Inherited: Yes
|
|
|
Syntax: list-style-image: value
Possible Values: url | none
Initial Value: none
Applies to: Elements with display value list-item
Inherited: Yes
|
|
|
Syntax: list-style-position: value
Possible Values: inside | outside
Initial Value: outside
Applies to: Elements with display value list-item
Inherited: Yes
|