/ Published in: CSS
TRouBLe
T - op
R - ight
o
u
B - ottom
L - eft
e
T - op
R - ight
o
u
B - ottom
L - eft
e
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
p { border-top-style:dotted; border-right-style:solid; border-bottom-style:dotted; border-left-style:solid; } The margin property can have from one to four values. * margin:25px 50px 75px 100px; o top margin is 25px o right margin is 50px o bottom margin is 75px o left margin is 100px * margin:25px 50px 75px; o top margin is 25px o right and left margins are 50px o bottom margin is 75px * margin:25px 50px; o top and bottom margins are 25px o right and left margins are 50px * margin:25px; o all four margins are 25px
URL: http://www.w3schools.com/css/css_border.asp