background-repeat Ӽ no-repeat ϸ ̹ ݺ ʰ, ܿ ġմϴ.
<div style="width:250; height:250; background-image: url(bg.gif) ; background-repeat:no-repeat"></div> |
ġ ٲܶ ϴ Ӽ background-position Դϴ.
<table width="90%" cellpadding="0" cellspacing="0" border="1" align="center" style="background-image: url(bg.gif) ; background-repeat:no-repeat; background-position:center right"> <tr height="100"> <td width="30%">top left</td> <td width="30%">top center</td> <td width="30%">top right</td> </tr> <tr height="100"> <td>center left</td> <td>center center</td> <td>center right</td> </tr> <tr height="100"> <td>bottom left</td> <td>bottom center</td> <td>bottom right</td> </tr> </table> |
center right Ͽϴ.
top left |
top center |
top right |
center left |
center center |
center right |
bottom left |
bottom center |
bottom right | |