HTML and CSS Reference
In-Depth Information
SESSION 4.2 VISUAL OVERVIEW
The
border
property
creates a border around
an el
e
ment. These values
creat
e
a
10-pixel-wide
dou
b
le line
with a color
value
of
(219, 152, 96)
.
The
outline
property
creates an outli
n
e around
an element. The
s
e values
create a
1-pixel
-
wide
,
red
single line
.
The
margin
property sets
the margin space around
an element. These values
create a margin that is
10 pixels
on top,
5 pixels
on the right,
10 pixels
on the bottom, and
20 pixels
on the left.