サイト内検索
...スタイルシート(css)...
スタイルシート・背景画像
下端に表示
サンプル
上端に表示の場合 |
<style type="text/css">
<!-- body{ background-image: url(../img/sample.jpg); background-repeat: repeat-x; background-color : transparent; background-attachment: fixed; } --> </style> |
---|---|
左端に表示の場合 |
<style type="text/css">
<!-- body{ background-image: url(../img/sample.jpg); background-repeat: repeat-y; background-color : transparent; background-attachment:fixed; } --> </style> |
右端に表示の場合 |
<style type="text/css">
<!-- body{ background-image: url(../img/sample.jpg); background-repeat: repeat-y; background-position: right; background-color : transparent; background-attachment: fixed; } --> </style> |
下端に表示の場合 |
<style type="text/css">
<!-- body{ background-image: url(../img/sample.jpg); background-repeat: repeat-x; background-position: bottom; background-color : transparent; background-attachment: fixed; } --> </style> |