Return to Snippet

Revision: 15916
at July 21, 2009 04:31 by thesmu


Initial Code
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

Initial URL
http://www.w3schools.com/css/css_border.asp

Initial Description
TRouBLe

T - op
R - ight
o
u
B - ottom
L - eft
e

Initial Title
border / margin / padding etc.. shorthand order

Initial Tags
order

Initial Language
CSS