You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



nglayout project

test cases: CSS1 properties

Last Updated 11/18/98, by Jan Carpenter

Color and Background Properties

Color
keyword value 
aqua
sec531aqua.htm
keyword value 
black
sec531black.htm
keyword value 
blue
sec531blue.htm
keyword value 
fuchsia
sec531fuchsia.htm
keyword value 
gray
sec531gray.htm
keyword value 
green
sec531green.htm
keyword value 
lime
sec531lime.htm
keyword value 
maroon
sec531maroon.htm
keyword value 
navy
sec531navy.htm
keyword value 
olive
sec531olive.htm
keyword value 
purple
sec531purple.htm
keyword value 
red
sec531red.htm
keyword value 
silver
sec531silver.htm
keyword value 
teal
sec531teal.htm
keyword value 
white
sec531white.htm
keyword value 
yellow
sec531yellow.htm
RGB-6 digit value 
aqua: 00FFFF
sec531rgb6aqua.htm
RGB-6 digit value 
black: 000000
sec531rgb6black.htm
RGB-6 digit value 
blue: 0000FF
sec531rgb6blue.htm
RGB-6 digit value 
fuchsia: FF00FF
sec531rgb6fuchsia.htm
RGB-6 digit value 
gray: 808080
sec531rgb6gray.htm
RGB-6 digit value
green: 008000
sec531rgb6green.htm
RGB-6 digit value 
lime: 00FF00
sec531rgb6lime.htm
RGB-6 digit value 
maroon: 800000
sec531rgb6maroon.htm
RGB-6 digit value 
navy: 000080
sec531rgb6navy.htm
RGB-6 digit value 
olive: 808000
sec531rgb6olive.htm
RGB-6 digit value 
purple: 800080
sec531rgb6purple.htm
RGB-6 digit value 
red: FF0000
sec531rgb6red.htm
RGB-6 digit value 
silver: C0C0C0
sec531rgb6silver.htm
RGB-6 digit value 
teal: 008080
sec531rgb6teal.htm
RGB-6 digit value 
white: FFFFFF
sec531rgb6white.htm
RGB-6 digit value 
yellow: FFFF00
sec531rgb6yellow.htm
RGB-3 digit value 
aqua: 0FF
sec531rgb3aqua.htm
RGB-3 digit value 
black: 000
sec531rgb3black.htm
RGB-3 digit value 
blue: 00F
sec531rgb3blue.htm
RGB-3 digit value 
fuchsia: F0F
sec531rgb3fuchsia.htm
RGB-3 digit value 
gray: 888
sec531rgb3gray.htm
RGB-3 digit value 
green: 080
sec531rgb3green.htm
RGB-3 digit value 
lime: 0F0
sec531rgb3lime.htm
RGB-3 digit value 
maroon: 800
sec531rgb3maroon.htm
RGB-3 digit value 
navy: 008
sec531rgb3navy.htm
RGB-3 digit value 
olive: 880
sec531rgb3olive.htm
RGB-3 digit value 
purple: 808
sec531rgb3purple.htm
RGB-3 digit value 
red: F00
sec531rgb3red.htm
RGB-3 digit value 
silver: CCC
sec531rgb3silver.htm
RGB-3 digit value 
teal: 088
sec531rgb3teal.htm
RGB-3 digit value 
white: FFF
sec531rgb3white.htm
RGB-3 digit value 
yellow: FF0
sec531rgb3yellow.htm
background-color
keyword value 
aqua
sec532aqua.htm
keyword value 
black
sec532black.htm
keyword value 
blue
sec532blue.htm
keyword value 
fuchsia
sec532fuchsia.htm
keyword value 
gray
sec532gray.htm
keyword value 
green
sec532green.htm
keyword value 
lime
sec532lime.htm
keyword value 
maroon
sec532maroon.htm
keyword value 
navy
sec532navy.htm
keyword value 
olive
sec532olive.htm
keyword value 
purple
sec532purple.htm
keyword value 
red
sec532red.htm
keyword value 
silver
sec532silver.htm
keyword value 
teal
sec532teal.htm
keyword value 
white
sec532white.htm
keyword value 
yellow
sec532yellow.htm
keyword value transparent sec532trans.htm
RGB-6 digit value 
aqua: 00FFFF
sec532rgb6aqua.htm
RGB-6 digit value 
black: 000000
sec532rgb6black.htm
RGB-6 digit value 
blue: 0000FF
sec532rgb6blue.htm
RGB-6 digit value 
fuchsia: FFOOFF
sec532rgb6fuchsia.htm
RGB-6 digit value 
gray: 808080
sec532rgb6gray.htm
RGB-6 digit value 
green: 008000
sec532rgb6green.htm
RGB-6 digit value 
lime: 00FF00
sec532rgb6lime.htm
RGB-6 digit value 
maroon: 800000
sec532rgb6maroon.htm
RGB-6 digit value 
navy: 000080
sec532rgb6navy.htm
RGB-6 digit value 
olive: 808000
sec532rgb6olive.htm
RGB-6 digit value 
purple: 800080
sec532rgb6purple.htm
RGB-6 digit value 
red: FF0000
sec532rgb6red.htm
RGB-6 digit value 
silver: C0C0C0
sec532rgb6silver.htm
RGB-6 digit value 
teal: 008080
sec532rgb6teal.htm
RGB-6 digit value 
white: FFFFFF
sec532rgb6white.htm
RGB-6 digit value 
yellow: FFFF00
sec532rgb6yellow.htm
RGB-3 digit value 
aqua: 0FF
sec532rgb3aqua.htm
RGB-3 digit value 
black: 000
sec532rgb3black.htm
RGB-3 digit value 
blue: 00F
sec532rgb3blue.htm
RGB-3 digit value 
fuchsia: FOF
sec532rgb3fuchsia.htm
RGB-3 digit value 
gray: 888
sec532rgb3gray.htm
RGB-3 digit value 
green: 080
sec532rgb3green.htm
RGB-3 digit value 
lime: 0F0
sec532rgb3lime.htm
RGB-3 digit value 
maroon: 800
sec532rgb3maroon.htm
RGB-3 digit value 
navy: 008
sec532rgb3navy.htm
RGB-3 digit value 
olive: 880
sec532rgb3olive.htm
RGB-3 digit value 
purple: 808
sec532rgb3purple.htm
RGB-3 digit value 
red: F00
sec532rgb3red.htm
RGB-3 digit value 
silver: CCC
sec532rgb3silver.htm
RGB-3 digit value 
teal: 088
sec532rgb3teal.htm
RGB-3 digit value 
white: FFF
sec532rgb3white.htm
RGB-3 digit value 
yellow: FF0
sec532rgb3yellow.htm
background-image
URL sec533.htm
none sec533.htm
background-repeat 
used with background-image
repeat-x sec534.htm
repeat-y sec534.htm
no-repeat sec534.htm
repeat sec5341.htm
background-attachment
scroll sec535scroll.htm
fixed sec535fix.htm
background-position
percentage (x,y values) sec536percent.htm
length (x,y values) 
    using em, em=height of font 536em
sec536em.htm
length (x,y values) 
    using ex, ex=height of the letter x 536ex
sec536ex.htm
length (x,y values) 
    using px, px=relative to canvas 536px
sec536px.htm
length (x,y values) 
    using in, in=inches 536in
sec536in.htm
length (x,y values) 
    using cm, cm=centimeter 536cm
sec536cm.htm
length (x,y values) 
    using mm, millimeter 536mm
sec536mm.htm
length (x,y values) 
    using pt, pt=point size 536pt
sec536pt.htm
length (x,y values) 
    using pc, pc=pica 536pc
sec536pc.htm
top left sec536toplf.htm
top center sec536topctr.htm
top right sec536toprt.htm
center left sec536ctrlf.htm
center center sec536ctrctr.htm
center right sec536ctrrt.htm
bottom left sec536btmlf.htm
bottom center sec536btmctr.htm
bottom right sec536btmrt.htm
background
background-color || background-image || background-repeat || 
background-attachment || background-position
sec537.htm