Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Values
border-top-color Declares the color Valid color names, RGB div { border-top-
of the top border. values, hexidecimal color:green; }
notation, or the predefined div { border-top-
value transparent. color:#00FF00; }
border-right-color Declares the color Valid color names, RGB div { border-right-
of the right values, hexidecimal color:green; }
border. notation, or the predefined div { border-right-
value transparent. color:#00FF00; }
border-bottom-color Declares the color Valid color names, RGB div { border-
of the bottom values, hexidecimal bottom-
border. notation, or the predefined color:green; }
value transparent. div { border-
bottom-
color:#00FF00; }
border-bottom-style Declares the style none div { border-
of the bottom hidden bottom-
border. dotted style:solid; }
dashed div { border-
solid bottom-
double style:inset; }
groove
ridge
inset
outset
border-left-color Declares the color Valid color names, RGB div { border-left-
of the left border. values, hexidecimal color:green; }
notation, or the predefined div { border-left-
value transparent. color:#00FF00; }
cursor Declares the type of URL values, and the div { cursor:crosshair; }
cursor to be displayed. following prefefined div
values: { cusrsor:url(image.csr); }
auto div
crosshair { cusrsor:url(image.csr),
default pointer; }
pointer
move
e-resize
ne-resize
nw-resize
n-resize
se-resize
sw-resize
s-resize
w-resize
text
wait
help
z-index Declares the stack order Integer values and div { z-index:2; }
of the element. the predefined value div { z-index:auto; }
auto.
Dimension Properties
CSS Dimension Properties
width Declares the width of the Lengths, percentages, and div { width:500px; }
element. the predefined value auto. div { width:75%; }
font-family Declares the name of Valid font family names div { font-family:Arial;
the font to be used. or generic family names, }
Previously set in i.e. Arial, Verdana, sans- div { font-family:Arial,
HTML via the face serif, "Times New Helvetica, sans-serif; }
attribute in a <font> Roman", Times, serif, etc.
tag. Font family names can be
separated by a comma in
the same declaration to
allow additional and/or
generic family names to
be used if the prefereed
font is unable to be
displayed.
font-size Declares the size of Lengths (number and unit div { font-size:70%; }
the font. Previously type— i.e. 1em, 12pt, div { font-size:0.85em;
set in HTML via the 10px, 80%) or one of the }
size attribute in a following predefined div { font-
<font> tag. values: size:medium; }
xx-small
x-small
small
medium
large
x-large
xx-large
smaller
larger
margin-top Declares the top Lengths, percentages, and the div { margin-
margin for the predefined value auto. top:5px; }
element. div { margin-
top:15%; }
margin-right Declares the right Lengths, percentages, and the div { margin-
margin for the predefined value auto. right:5px; }
element. div { margin-
right:15%; }
margin-bottom Declares the Lengths, percentages, and the div { margin-
bottom margin for predefined value auto. bottom:5px; }
the element. div { margin-
bottom:15%; }
margin-left Declares the left Lengths, percentages, and the div { margin-
margin for the predefined value auto. left:5px; }
element. div { margin-
left:15%; }
outline-color Declares the outline Valid color names, RGB div { outline-
color. values, hexidecimal color:green; }
notation. div { outline-
color:#00FF00; }
padding-top Declares the top Lengths, percentages, and the div { padding-
padding for the predefined value auto. top:5px; }
element. div { padding-
top:15%; }
padding-right Declares the right Lengths, percentages, and the div { padding-
padding for the predefined value auto. right:5px; }
element. div { padding-
right:15%; }
padding-left Declares the left Lengths, percentages, and the div { padding-
padding for the predefined value auto. left:5px; }
element. div { padding-
left:15%; }