FSU Cascading Style Sheet Reference
FSU Cascading Style Sheet Reference >
Common Values
list (by value type)
Length Units
- em (ems, the height of the element's font)
- ex (x-height, the height of the letter "x")
- px (pixels, relative to resolution)
- in (inches)
- cm (centimeters; 1cm=10mm)
- mm (millimeters)
- pt (points; 1pt=1/72in)
- pc (picas; 1pc=12pt)
Percentage Units
- A positive or negative percentage. Example: 75%
Color Values
- #rrggbb
- #rgb
- rgb(r,g,b) where r,g,and b are integers between 0 and 255. Example: rgb(115,255,0)
- rgb(r%,g%,b%) where r,g,and b are percentages between 0.0% and 100.0%. Example: rgb(55%,80%,100%)
- Keyword Colors
- System Colors
String Values
- Text strings that are enclosed within single or double quotes.
URI Values
- An absolute or relative Uniform Resource Indicator (Web Address). Example: http://learningforlife.fsu.edu/webmaster
Document Type: Valid XHTML 1.1
and CSS