¼Ó¼º°ª:length£üpercentage£üauto ³× °÷ÀÇ ¸¶ÁøÀ» µ¿½Ã¿¡ Á¤ÇÑ´Ù. ¼¼ ¹ø°ó·³ 3°³ÀÇ ¼Ó¼º°ªÀ» ÁöÁ¤ÇÏ¸é µÎ¹ø° °ªÀº
¿ÞÂÊ°ú ¿À¸¥ÂÊ ¿©¹é¿¡ Àû¿ëµÈ´Ù. ³× ¹ø° ¿¹¿Í °°ÀÌ 4¹æÇâÀ» °¢°¢
ÀÔ·ÂÇÏ´Â °æ¿ì´Â ´ÙÀ½°ú °°ÀÌ ½Ã°è ¹æÇâÀ¸·Î ÀÔ·ÂÇØ¾ß ÇÑ´Ù. {margin: top right
bottom left }
body {margin: 2em } /* ¸ðµç ¸¶ÁøÀÌ
2em*/ body {margin:1em
2em} /* top°ú bottomÀº 1em, right left 2em*/ body {margin:
1em 2em 3em} /* topÀº1em, left¿Í right´Â 2em, bottomÀº
3em*/ body {margin: 1em, 2em, 3em, 4em} /*topÀº 1em, left´Â
2em, right´Â 3em, bottomÀº 4em*/ |