MARGIN PROPERTY VALUE IN CSS

Madam Walker

Total Post:22

Points:154
Posted by  Madam Walker
 1027  View(s)
Ratings:
Rate this:
Hi,

I have little bit confusion related to margin values. Can you tell me what is differences between following statement

margin:5px;
margin:5px 10px;
margin:2px 4px 6px;
margin:3px 6px 9px 12px;

Your help is a great appreciated. 

  1. AVADHESH PATEL

    Post:604

    Points:4228
    Re: margin property value in CSS

    HI Madam,


    Margin Property value as following

    margin:5px;
    margin-top:5px;
    margin-right:5px;
    margin-bottom:5px;
    margin-left:5px;

    margin:5px 10px;
    margin-top:5px;
    margin-right:10px;
    margin-bottom:5px;
    margin-left:10px;

    margin:2px 4px 6px;
    margin-top:2px;
    margin-right:4px;
    margin-bottom:6px;
    margin-left:4px;

    margin:3px 6px 9px 12px;
    margin-top:3px;
    margin-right:6px;
    margin-bottom:9px;
    margin-left:12px;

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!