![](/bink.gif) |
|
| ![](/bink.gif) |
¹è°æÀ̹ÌÁö °íÁ¤(body - table) - background - repeat: no - repeat |
|
|
![](icon/private_name/1.gif) |
13³â Àü |
BODY ȤÀº TABLE¿¡ ¹è°æÀ» °íÁ¤½ÃÄѾ߸¸ÇÏ´Â °æ¿ì°¡ »ý±ä´Ù.
±×¶§ À¯¿ëÇÏ°Ô »ç¿ëµÉ ¼Ò½º´Ù.
1. ¹è°æÀ̹ÌÁö °íÁ¤ - CSSÀ» ÀÌ¿ëÇÑ ¹è°æÀ̹ÌÁö °íÁ¤¹ý
<style type="text/css">
BODY {
margin-left: 1em; /* °íÁ¤ À̹ÌÁö°¡ º¸À̵µ·Ï ¿¾î ÁØ °ÍÀÓ */
background-image: url('¹è°æÀ̹ÌÁö°æ·Î'); /* ¹è°æÀ̹ÌÁö °æ·Î */
background-position: 260 left; /* µðÆúÆ®´Â top left, ȤÀº 0 0 */
background-attachment: fixed;
background-repeat: no-repeat; /* µðÆúÆ®´Â repeat */
}
</style>
<style type="text/css">
BODY {
margin-left: 1em; /* °íÁ¤ À̹ÌÁö°¡ º¸À̵µ·Ï ¿¾î ÁØ °ÍÀÓ */
background-image: url('¹è°æÀ̹ÌÁö°æ·Î'); /* ¹è°æÀ̹ÌÁö °æ·Î */
background-position: 260 left; /* µðÆúÆ®´Â top left, ȤÀº 0 0 */
background-attachment: fixed;
background-repeat: no-repeat; /* µðÆúÆ®´Â repeat */
}
</style>
2. TD ¹è°æ°íÁ¤ - CSSÀ» »ç¿ëÇÏÁö ¾ÊÀº ¹è°æÀ̹ÌÁö °íÁ¤¹ý
<TD style='background-image:url(¹è°æÀ̹ÌÁö°æ·Î); background-repeat:no-repeat; background-position:bottom right; background-attachment:fixed;'>
</TD>
<TD
style='background-image:url(¹è°æÀ̹ÌÁö°æ·Î); background-repeat:no-repeat;
background-position:bottom right; background-attachment:fixed;'>
</TD>
## background=position ÀÇ °ª¿¡ µû¶ó ¹è°æÀ̹ÌÁöÀÇ À§Ä¡°¡ ´Þ¶óÁü
[»ç¿ë¿¹] 0 0 => ¿ÞÂÊ »ó´Ü , bottom 0 => ÇÏ´Ü ¿ÞÂÊ, bottom right => ÇÏ´Ü ¿À¸¥ÂÊ |
|
̵̧ : 452 |
̵̧
¸ñ·Ï
|
|
| ![](/bink.gif) |
|