【固定背景ソース集】 次のソースを<HEAD>〜</HEAD>の間に入れて下さい。 |
左上固定 <STYLE type="text/css"> <!-- BODY{background-color : 背景色; background-image : url(画像URL); background-repeat : no-repeat; background-attachment : fixed;background-position : 0% 0%;} --> </STYLE> |
左下固定 <STYLE type="text/css"> <!-- BODY{background-color : 背景色; background-image : url(画像URL); background-repeat : no-repeat; background-attachment : fixed;background-position : 0% 100%;} --> </STYLE> |
右上固定 <STYLE type="text/css"> <!-- BODY{background-color : 背景色; background-image : url(画像URL); background-repeat : no-repeat; background-attachment : fixed;background-position : 100% 0%;} --> </STYLE> |
右下固定 <STYLE type="text/css"> <!-- BODY{background-color : 背景色; background-image : url(画像URL); background-repeat : no-repeat; background-attachment : fixed;background-position : 100% 100%;} --> </STYLE> |