1.

Define Margin And Padding In Css ?

Answer»

Margin:-The Margin property determines the distance between the ELEMENT’s edge and any outside text.Margins for INDIVIDUAL sides of an element can be specified by using margin-top,margin-right,margin-left,margin-bottom.

PADDING:- The padding property determines the distance between the content INSIDE an element and the edge of the element.Padding also can be set for each side of the box using padding-top,padding-right,padding-left,padding-bottom.

Margin:-The Margin property determines the distance between the element’s edge and any outside text.Margins for individual sides of an element can be specified by using margin-top,margin-right,margin-left,margin-bottom.

Padding:- The padding property determines the distance between the content inside an element and the edge of the element.Padding also can be set for each side of the box using padding-top,padding-right,padding-left,padding-bottom.



Discussion

No Comment Found