サイト内検索

...スタイルシート(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>

Copyright c 2007.10.01 luc All rights reserved.