*背景関係をまとめた設定 [#s263e2d9] 背景関連のプロパティをまとめて設定するには、 ''background''プロパティを設定します。 <pre> COLOR(red):background: COLOR(blue):背景関係のプロパティ </pre> 次のプロパティをまとめて設定することができます。 -[[背景色の設定>Lecture/InfoDesignB2004/7th/fontcolor#fdac6533]] -[[背景画像の設定>Lecture/InfoDesignB2004/9th/bg_image]] -[[背景画像の並べ方の設定>Lecture/InfoDesignB2004/9th/bg_repeat]] -[[背景画像の表示位置の設定>Lecture/InfoDesignB2004/9th/bg_position]] -[[背景画像の固定>Lecture/InfoDesignB2004/9th/bg_attach]] 設定したい値を、任意の順序で、半角スペースで区切って設定します。 設定しなかった場合は、初期値が指定されたことになります。 なお、 borderプロパティで、 上下左右の枠線を別々に設定することはできません。 注意してください。 <pre> .note{ COLOR(red):border-top: COLOR(blue):dotted 3px #ffcc00; COLOR(red):border-left: COLOR(blue):dotted 3px #ffcc00; COLOR(red):border-right: COLOR(blue):dotted 3px #ffcc00; body { color: #000000; COLOR(red):background: COLOR(blue):#ffffff url(bg.gif) right repeat-yCOLOR(black):; } .example{ COLOR(red):border: COLOR(blue):double 6px #339966; } </pre> &br; &navi2(Lecture/InfoDesignB2004/8th,next);進んでください。 &navi2(Lecture/InfoDesignB2004/9th,next);進んでください。 ---- #navi2(Lecture/InfoDesignB2004/8th,prev,toc,next) #navi2(Lecture/InfoDesignB2004/9th,prev,toc,next) |