|
|
Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib
By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS
|
GBIC >>
Source Code >>
JavaScript >> Snippet
|
28 Cascading Style Sheets (CSS) III - Properties
A listing of the properties supported by the CSS1
/
2 specifications can be found at
<
http
:
//www.w3.org/TR/CSS21/propidx.html>.
Here is a list of some commonly used properties and their allowed values. The full
list is available at the W3 site
:
background
-
attachment scroll
|
fixed
|
inherit
background
-
color transparent
|
inherit
background
-
image none
|
inherit
background
-
position [ [ left
|
center
|
right ] [ top
|
center
|
bottom ]
?
]
|
[ [ left
|
center
|
right ]
||
[ top
|
center
|
bottom ] ]
|
inherit
background [background
-
color
||
background
-
image
||
background
-
repeat
||
background
-
attachment
||
background
-
position]
|
inherit
border
-
color [ transparent ]
{
1,4
}
|
inherit
border
-
spacing
?
|
inherit
border
-
style
{
1,4
}
|
inherit
border
-
width
{
1,4
}
|
inherit
font
-
family [[ ] [,
|
]
*
]
|
inherit
font
-
size inherit
font
-
style normal
|
italic
|
oblique
|
inherit
font
-
variant normal
|
small
-
caps
|
inherit
font
-
weight normal
|
bold
|
bolder
|
lighter
|
100
|
200
|
300
|
400
|
500
|
600
|
700
|
800
|
900
|
inherit
height auto
|
inherit
width auto
|
inherit
text
-
align left
|
right
|
center
|
justify
|
inherit
text
-
decoration none
|
[ underline
||
overline
||
line
-
through
||
blink ]
|
inherit
text
-
indent inherit
text
-
transform capitalize
|
uppercase
|
lowercase
|
none
|
inherit
vertical
-
align baseline
|
sub
|
super
|
top
|
text
-
top
|
middle
|
bottom
|
text
-
bottom
|
inherit
visibility visible
|
hidden
|
collapse
|
inherit
|
|
|
|