Shorthand css in Margin and Padding Properties

May 29th, 2009 by rohit.dubariya § 0

margin1 • In this property’s value takes for four side like top, right, bottom and left with 10px
margin1 • This value takes only from top with 10px
• This value takes only from right with 15px
• This value takes only from bottom with 20px
• This value takes only from left with 25px
margin2 • This value takes from top 10px, right 15px, bottom 20px and left with 25px
margin3 • This value takes from top and bottom with 10px and left and right 25px
margin4 • This value takes top 10px, right and left 25px and bottom 50px
[Note : Same thing we can use it in Padding also]

Tagged: , , ,

§ Leave a Reply

What's this?

You are currently reading Shorthand css in Margin and Padding Properties at Digicorp.

meta

Share