|
background-attachment: 固定するかどうか |
[表示位置] | |
fixed | 背景画像の位置を固定する |
scloll | 背景画像を他の内容と共にスクロールさせる(初期値) |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> <META http-equiv="Content-Style-Type" content="text/css"> <title>CSS覚書</title> <style type="text/css"> <!-- body { color: #000000; background-color: #ffffff; background-image: url(http://www5b.biglobe.ne.jp/~donbey/071.gif); background-repeat: repeat; background-attachment: fixed; margin-top: 50px } p { line-height: 1.5em } --> </style> </herd> <body> <h1 align=center>背景画像を固定する</h1> <center> <A href="http://www47.tok2.com/home/donbey/tomodati3.htm" target="_self"> <IMG src="http://www47.tok2.com/home/donbey/conv000114.jpg" width="320" height="239" border="0"></A> <BR> <BR> <A href="http://www47.tok2.com/home/donbey/tomodati3.htm" target="_self"> <FONT size="+1" color="#ffffff"><B>ドンベーのお友達の部屋へ<BR> ご案内します。</b></FONT></A><BR><BR> <p> <font size=4 color=blue><B>ドンベーのプロフィール</B></font><BR> <font color=blue>犬 種 シーズー(SHIH TZU)<BR> 性 別 MALE オス<BR> 毛 色 WHITEGOLD<BR> 生年月日 1994年7月5日<BR> オス3匹 メス2匹の5匹兄弟の?番目に<BR> 生まれた、ドライブと綺麗な公園大好きな<BR> おとなしくて、利口な犬です。</font><BR> <BR> <font size=4 color=blue><B>ドンベーのお友達になって!(^O^)/</B></font><BR> <font color=blue>ドンベーのお友達に成ってくれるワンちゃん募ってます、<BR> ワンちゃんの写真メールで、送って下さい。<BR> ドンベーのお友達の部屋で一緒に遊びましょ〜〜。(^o^)丿</font></center> </p> </body> </html> |