the point (25%,75%) of the image
is to be placed at the point (25%,75%)
of the element.
CSS1 Color Name List
Foreground Color
{color: # }
#=color(#rrggbb or name)
<head><style type="text/css"><!--
FONT {color:red}
--></style></head>
<FONT SIZE=4>Today is fine.</FONT>
| Today is fine. |
Background Color
{background-color: # }
<head><style type="text/css"><!--
FONT {color:white;
background-color:blue}
--></style></head>
<FONT SIZE=4>Today is fine.</FONT>
| Today is fine. |
Background Image
{background-image: url(#) } #=image file<DIV STYLE="background-image: URL(back.gif)"> Today is fine. Long before ... to predict upcoming changes in weather. </DIV>
Background Repeat
{background-repeat: # }<DIV STYLE="position:relative; left:0; top:0; height:100; width:200; border-style:solid; background-image:url(back.gif); background-repeat:#"> Today is fine. Today is fine.<BR> ... Today is fine. Today is fine.<BR> </DIV>
{background-repeat:repeat}
|
Today is fine. Today is fine.
Today is fine. Today is fine. Today is fine. Today is fine. Today is fine. Today is fine. |
{background-repeat:no-repeat}
|
Today is fine. Today is fine.
Today is fine. Today is fine. Today is fine. Today is fine. Today is fine. Today is fine. |
{background-repeat:repeat-x}
|
Today is fine. Today is fine.
Today is fine. Today is fine. Today is fine. Today is fine. Today is fine. Today is fine. |
{background-repeat:repeat-y}
|
Today is fine. Today is fine.
Today is fine. Today is fine. Today is fine. Today is fine. Today is fine. Today is fine. |
Background Attachment
{background-attachment: # }<DIV STYLE="position:relative; left:0; top:0; height:100; width:200; border-style:solid; overflow:scroll; background-image:url(back.gif); background-attachment:#"> Today is fine....Today is fine. </DIV>
{background-attachment:scroll}
|
Today is fine.
Today is fine.Today is fine.Today is fine.Today is fine.Today is fine.Today is fine.Today is fine.Today is fine.Today is fine.Today is fine.Today is fine.
|
{background-attachment:fixed}
|
Today is fine.
Today is fine.Today is fine.Today is fine.Today is fine.Today is fine.Today is fine.Today is fine.Today is fine.Today is fine.Today is fine.Today is fine.
|
Background Position
{background-position: #1 #2}<DIV STYLE="position:relative; left:0; top:0; height:100; width:200; border-style:solid; background-image:URL(back.gif); background-repeat:no-repeat; background-position:#1 #2"> Today is fine. </div>
{background-position:
center center}
|
Today is fine.
|
{background-position: 25% 75%}
the point (25%,75%) of the image
is to be placed at the point (25%,75%) of the element. |
Today is fine.
|
{background-position:
100px 25px}
|
Today is fine.
|
{background-position-x: #1 }
{background-position-x:center;
background-position-y:bottom}
|
Today is fine.
|
Background Grouping
Grouping<div style="position:relative; left:0; top:0; height:100; width:200; border-style:solid; background:url(back.gif) skyblue repeat-x -12px center"> Today is fine. </div>
