*背景画像の設定 [#sdf6a832] ブロックの背景に画像を表示するには、 ''background-image''プロパティを設定します。 <pre> COLOR(red):background-image: url(COLOR(blue):urlCOLOR(red):) </pre> background-imageプロパティは、背景の画像を指定します。 ボックスの枠線の中の背景画像を表示することができます。 指定した色によっては、文字が見にくくなるので、 文字色を指定しましょう。 <pre> body { COLOR(red):background-image: url(COLOR(blue):bgimage.gifCOLOR(red):) } h1 { COLOR(red):background-image: url(COLOR(blue):pattern1.pngCOLOR(red):) } </pre> #ref(css02.png,nolink,background-imageの例); &br; &navi2(Lecture/InfoDesignB2004/9th,next);進んでください。 ---- #navi2(Lecture/InfoDesignB2004/9th,prev,toc,next) |