新しい記事を書く事で広告が消せます。
ニュースなどのトップ記事はここに入れてください。
● background-attachment:fixed;
ページの背景画像を固定したい時にはこのタグを画像のURLの後に入れます。
逆に固定せずに繰り返して表示したい場合は fixed の代わりに
scroll を入れます。
【例】
< html >
< head >
< title >ページの背景画像を固定する< /title >
< style type="text/css" >
< !--body { background-attachment:fixed; }
-- >< /style >
< /head >
< body background="bg.gif" >
< table border="10" width="100%" height="1000" >
< tr >< th >背景画像はスクロールせず固定されたままです< /th >< /tr >
< /table >
< /body >
< /html >
ページの背景画像を固定したい時にはこのタグを画像のURLの後に入れます。
逆に固定せずに繰り返して表示したい場合は fixed の代わりに
scroll を入れます。
【例】
< html >
< head >
< title >ページの背景画像を固定する< /title >
< style type="text/css" >
< !--body { background-attachment:fixed; }
-- >< /style >
< /head >
< body background="bg.gif" >
< table border="10" width="100%" height="1000" >
< tr >< th >背景画像はスクロールせず固定されたままです< /th >< /tr >
< /table >
< /body >
< /html >
|TOP↑|

