home HTML XML DTD CSS Visual Filter JavaScript Java ASP SSI .NET  
CSS Reference >
Suggested Reading

Data types


tag/attrib/value description
Integer 1     
i: [+|-]?[0-9]+ 1      Decimal integer (positive or negative)
h: [0-9a-fA-F]+ 1      Hexadecimal integer
Number 1     
n: [+|-]?[ [0-9]* | [0-9]+.[0-9]* ] 1      Real number (positive or negative)
String 1     
Text 1      Unquoted text
'Text' 1      Single-quoted text
"Text" 1      Double-quoted text
Length 13 43 
nem 14 43  ems, the height of the element's font
nex 14 43  x-height, ~ the height of the letter 'x'
npx 13 43  Pixels
nin 13 43  Inches, 1in = 2.54cm
ncm 13 43  Centimeters, 1cm = 10mm
nmm 13 43  Millimeters
npt 13 43  Points, 1pt = 1/72in
npc 13 43  Picas, 1pc = 1/6in = 12pt
Percentage 13    
n% 13 4   Percentage value
URI 13 43 
url(String) 13 43  Universal Resource Identifier
Color 13 43 
#hhh 13 43  Hexadecimal RGB
#hhhhhh 13 43  Hexadecimal RRGGBB
rgb(i,i,i) 13 43  Integer range 0 - 255
rgb(n%,n%,n%) 13 43  Float range 0.0% - 100.0%
black 13 43  #000000
white 13 43  #FFFFFF
red 13 43  #FF0000
yellow 13 43  #FFFF00
lime 13 43  #00FF00
aqua 13 43  #00FFFF
blue 13 43  #0000FF
fuchsia 13 43  #FF00FF
gray 13 43  #808080
silver 13 43  #C0C0C0
maroon 13 43  #800000
olive 13 43  #808000
green 13 43  #008000
teal 13 43  #008080
navy 13 43  #000080
purple 13 43  #800080
aliceblue -3 4-  #F0F8FF
antiquewhite -3 43  #FAEBD7
aquamarine -3 43  #7FFFD4
azure -3 43  #F0FFFF
beige -3 43  #F5F5DC
bisque -3 43  #FFE4C4
blanchedalmond -3 43  #FFEBCD
blueviolet -3 43  #8A2BE2
brown -3 43  #A52A2A
burlywood -3 4-  #DEB887
cadetblue -3 43  #5F9EA0
chartreuse -3 43  #7FFF00
chocolate -3 43  #D2691E
coral -3 43  #FF7F50
cornflower -3 4-  #6495ED
cornsilk -3 43  #FFF8DC
crimson -3 4-  #DC143C
cyan -3 43  #00FFFF
darkblue -3 4-  #00008B
darkcyan -3 4-  #008B8B
darkgoldenrod -3 43  #B8860B
darkgray -3 4-  #A9A9A9
darkgreen -3 43  #006400
darkkhaki -3 43  #BDB76B
darkmagenta -3 4-  #8B008B
darkolivegreen -3 43  #556B2F
darkorange -3 43  #FF8C00
darkorchid -3 43  #9932CC
darkred -3 4-  #8B0000
darksalmon -3 43  #E9967A
darkseagreen -3 43  #8FBC8F
darkslateblue -3 43  #483D8B
darkslategrey -3 4-  #2F4F4F
darkturquoise -3 43  #00CED1
darkviolet -3 43  #9400D3
deeppink -3 43  #FF1493
deepskyblue -3 43  #00BFFF
dimgray -3 43  #696969
dodgerblue -3 43  #1E90FF
firebrick -3 43  #B22222
floralwhite -3 43  #FFFAF0
forestgreen -3 43  #228B22
gainsboro -3 43  #DCDCDC
ghostwhite -3 43  #F8F8FF
gold -3 43  #FFD700
goldenrod -3 43  #DAA520
greenyellow -3 43  #ADFF2F
honeydew -3 43  #F0FFF0
hotpink -3 43  #FF69B4
indianred -3 43  #CD5C5C
indigo -3 4-  #4B0082
ivory -3 43  #FFFFF0
khaki -3 43  #F0E68C
lavender -3 43  #E6E6FA
lavenderblush -3 43  #FFF0F5
lawngreen -3 43  #7CFC00
lemonchiffon -3 43  #FFFACD
lightblue -3 43  #ADD8E6
lightcoral -3 43  #F08080
lightcyan -3 43  #E0FFFF
lightgoldenrodyellow -3 43  #FAFAD2
lightgreen -3 4-  #90EE90
lightgrey -3 4-  #D3D3D3
lightpink -3 43  #FFB6C1
lightsalmon -3 43  #FFA07A
lightseagreen -3 43  #20B2AA
lightskyblue -3 43  #87CEFA
lightslategray -3 43  #778899
lightsteelblue -3 43  #B0C4DE
lightyellow -3 43  #FFFFE0
limegreen -3 43  #32CD32
linen -3 43  #FAF0E6
magenta -3 43  #FF00FF
mediumaquamarine -3 43  #66CDAA
mediumblue -3 43  #0000CD
mediumorchid -3 43  #BA55D3
mediumpurple -3 43  #9370DB
mediumseagreen -3 43  #3CB371
mediumslateblue -3 43  #7B68EE
mediumspringgreen -3 43  #00FA9A
mediumturquoise -3 43  #48D1CC
mediumvioletred -3 43  #C71585
midnightblue -3 43  #191970
mintcream -3 43  #F5FFFA
mistyrose -3 43  #FFE4E1
moccasin -3 43  #FFE4B5
navajowhite -3 43  #FFDEAD
oldlace -3 43  #FDF5E6
olivedrab -3 43  #6B8E23
orange -3 43  #FFA500
orangered -3 43  #FF4500
orchid -3 43  #DA70D6
palegoldenrod -3 43  #EEE8AA
palegreen -3 43  #98FB98
paleturquoise -3 43  #AFEEEE
palevioletred -3 43  #DB7093
papayawhip -3 43  #FFEFD5
peachpuff -3 43  #FFDAB9
peru -3 43  #CD853F
pink -3 43  #FFC0CB
plum -3 43  #DDA0DD
powderblue -3 43  #B0E0E6
rosybrown -3 43  #BC8F8F
royalblue -3 43  #4169E1
saddlebrown -3 4-  #8B4513
salmon -3 4-  #FA8072
sandybrown -3 43  #F4A460
seagreen -3 43  #2E8B57
seashell -3 43  #FFF5EE
sienna -3 43  #A0522D
skyblue -3 43  #87CEEB
slateblue -3 43  #6A5ACD
slategray -3 43  #708090
snow -3 43  #FFFAFA
springgreen -3 43  #00FF7F
steelblue -3 43  #4682B4
tan -3 43  #D2B48C
thistle -3 43  #D8BFD8
tomato -3 43  #FF6347
turquoise -3 43  #40E0D0
violet -3 43  #EE82EE
wheat -3 43  #F5DEB3
whitesmoke -3 4-  #F5F5F5
yellowgreen -3 43  #9ACD32
ActiveBorder 24 --  Active window border
ActiveCaption 24 --  Active window caption
AppWorkspace 24 --  Background color of multiple document interface
Background 24 --  Desktop background
ButtonFace 24 --  Face color for 3-D display elements
ButtonHighlight 24 --  Highlight color for 3-D display elements
ButtonShadow 24 --  Shadow color for 3-D display elements
ButtonText 24 --  Text on push buttons
CaptionText 24 --  Text in caption, size box, and scrollbar arrow box
GrayText 24 --  Grayed (disabled) text
Highlight 24 --  Items selected in a control
HighlightText 24 --  Text of items selected in a control
InactiveBorder 24 --  Inactive window border
InactiveCaption 24 --  Inactive window caption
InactiveCaptionText 24 --  Color of text in an inactive window caption
InfoBackground 24 --  Background color for tooltip controls
InfoText 24 --  Text color for tooltip controls
Menu 24 --  Menu background
MenuText 24 --  Text in menus
Scrollbar 24 --  Scroll bar gray area
ThreeDDarkShadow 24 --  Dark shadow for 3-D display elements
ThreeDFace 24 --  Face color for 3-D display elements
ThreeDHighlight 24 --  Highlight color for 3-D display elements
ThreeDLightShadow 24 --  Light color for 3-D display elements
ThreeDShadow 24 --  Dark shadow for 3-D display elements
Window 24 --  Window background
WindowFrame 24 --  Window frame
WindowText 24 --  Text in windows
Angle 2---- 
ndeg 2----  Degrees
ngrad 2----  Grads
nrad 2----  Radians
Time 2---- 
nms 2----  Milliseconds
ns 2----  Seconds
Frequency 2---- 
nHz 2----  Hertz
nkHz 2----  Kilohertz