codeGK
Code it ALL
CSS Margin - CodeGK
♦ CSS Margin

♣ About CSS Margin

Margins are the separation between current HTML tag and the next HTML tag, i.e, it can be thought as a limit to which a particular HTML tag can propagate.
Defining Type1:
Table Info
MarginSize
margina px
marginb %
Syntax Explanation:
where, a is number of pixels, and b is percentage
Defining Type2:
Table Info
,,,,,
Margin-Side@Demension
margin-left@a px;
margin-right@b px;
margin-top@c px;
margin-bottom@d px;
Syntax Explanation:
where, a, b, c, d can be different pixels
Prev_LessonNext_Lesson
CSS Margin