dポイントプレゼントキャンペーン実施中!

ホームページビルダー9を使っています。

webギャラリーを作っているんですが、そのHPを背景の画像を動かさずに、スクロールさせる方法を教えて下さい。

感じとしては、下記のURLの感じのページにしたいのです。宜しくお願いします。
http://space4410.sunnyday.jp/soccersozai3.htm

A 回答 (3件)

背景固定ですね。



標準モードだとして・・・

☆ 中央に1つ固定

<STYLE type="text/css">
<!-- BODY {
background-color: #------;
background-image : url("画像のURL");
background-attachment: fixed;
background-position: 50% 50%;
background-repeat: no-repeat;
} -->
</STYLE>




☆ 背景画像を左上に一つだけ表示

<style type="text/css">
<!-- body{ background-image: url("画像URL");
background-repeat: no-repeat;
}-->
</style>



☆左下に一つ置く

<STYLE type="text/css">
<!-- BODY {
background-color: #------;
background-image : url("画像のURL");
background-attachment: fixed;
background-position: 0% 100%;
background-repeat: no-repeat;
} -->
</STYLE>




☆右上に一つ    
<style type=text/css>
<!--
body{
background-image:url(画像URL);
background-position:right top;
background-attachment:fixed;
background-repeat:no-repeat;}
-->
</style>



☆右下に一つ置く

<STYLE type="text/css">
<!-- BODY {
background-color: #------;
background-image : url("画像のURL");
background-attachment: fixed;
background-position: 100% 100%;
background-repeat: no-repeat;
} -->
</STYLE>

<HEAD>~</HEAD>の間に入れてくださいね
    • good
    • 0

てか、背景固定タグ、メニューの下の方にあるじゃん。

下から4番目に。
それを参考すればいいんじゃ…?
もしタグを使うのであれば、大手検索サイトで探しましょう。
(「タグ」とか「HTML」とかのキーワードで)
    • good
    • 0

以前全く同じ質問に回答しましたので、無精で申し訳ありませんが、参考URLをご覧ください。



参考URL:http://okweb.jp/kotaeru.php3?q=1327069
    • good
    • 0

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!