Content CSS properties and values

Content

Inherited

Applies to all except for rows

default value

possible values

padding:0LENGTH
padding-left:0LENGTH
padding-right:0LENGTH
padding-top:0LENGTH
padding-bottom:0LENGTH
font:yescaptionIcon, menu, message-box, small-caption, status-bar
font-family:yesserifFONTLIST, sans-serif, monospace, fantasy, cursive
font-size:yesmediumLENGTH,%ParentElementFontSize, xx-small,x-small, smaller, small, large, larger, x-large,  xx-large
font-style:yesnormalitalic, oblique
font-variant:yesnormalsmall-caps
font-weight:yesnormalLighter, bold, bolder, 100, 200, 300, 400, 500, 600, 700, 800, 900
text-decoration:yesnoneunderline, line-through, overline
text-transform:yesnonelowercase, uppercase, capitalize
direction:yesltrRtl
unicode-bidi:normalbidi-override, embed
line-height:yesnormalLENGTH, %FontSize, MULTIPLIER
letter-spacing:yesnormalLENGTH
word-spacing:yesnormalLENGTH
white-space:yesnormalpre, nowrap
color:yesblack#rrggbb, #rgb, rgb(RED,GREEN,BLUE), rgb(RED%,GREEN%,BLUE%) 

gray, silver, white,

red, maroon, purple, fuchsia,

lime, green, olive, yellow,

blue, navy, teal, aqua,

violet, fuschia, red, maroon, black

wheat, gold, orange, tomato, firebrick

lightyellow, yellow, yellowgreen, olive, darkolivegreen

palegreen, lime, seagreen, green, darkgreen

lightcyan, cyan, turquoise, teal, midnightblue

lightskyblue,deepskyblue,royalblue, blue, darkblue

whitesmoke, lightgrey, silver, gray, dimgray, darkslategray

 

ActiveBorder, ActiveCaption, AppWorkspace, Background,ButtonFace, ButtonHighlight, ButtonShadow, ButtonText, CaptionText, GrayText, Highlight, HighlightText,

InactiveBorder, InactiveCaption, InactiveCaptionText, InfoBackground, InfoText, Menu, MenuText, Scrollbar, ThreeDDarkShadow, ThreeDFace, ThreeDHighlight, ThreeDLightShadow, ThreeDShadow, Window, WindowFrame,

WindowText