このサイトは面白い
http://www.eighthnote-web.com/zss/index.html
キャラクター紹介の部分、スクロールさせると面白い。どんなCSS使ってんだろうか。メモってみよう。
ヘッダ
<STYLE type="text/css"> <!-- BODY{ font-size : 11px; font-family : sans-serif; margin-top : 0px; margin-left : 0px; margin-right : 0px; margin-bottom : 0px; color : black; background-repeat : no-repeat; background-attachment : fixed;background-position : 0px 1px;} TD{ font-size : 12px; font-family : sans-serif; background-repeat : no-repeat; background-attachment : fixed; } TABLE{ font-weight : normal; background-repeat : no-repeat; background-attachment : fixed; } --> </STYLE>
本体
<TABLE border="0" width="100%" height="410" background="kei.gif"> <TBODY> <TR> <TD valign="top" width="30"></TD> <TD valign="top"><A name="kei"></A><BR> <BR> <BR> <BR> <BR> <BR> 本作の主人公。<BR> <BR> 幼い頃に母親を亡くしている。<BR> そのせいで料理が得意。<BR> 優しく温厚な性格だが、内面は結構冷めている。<BR> <BR> </TD> </TR> </TBODY> </TABLE>
ソース読んだ
あー。
background-repeat : no-repeat; background-attachment : fixed;
で、がっちり固定してるとこんな風になるのか。ふーむ面白い。