Sunday, November 05, 2006

for Election Day

Create a folder on your web site called "backgrounds". In it you should have an index.htm file that links to 5 different experiments with creating page backgrounds.

Possibilities include:

repeat
x-repeat
y-repeat

a style class like the one below:

.seriousbusinessman {
margin: 0;
padding: 0;
position: fixed;
float: left;
top: 0;
left: 0;
width: 1000px;
height: 800px;
background-image: url(??????????);
border: 0px solid #ff0000;
}

where the ????? is replaced by the path to an image file.

You can also use a style with the "background-position"
property to position a background along the bottom:

i.e.

body {
background-image: url(images/bg.jpg);

background-repeat: repeat-x;

background-position: bottom;
}

Each experiment should use a different image that is
appropriate to the method used.

Repeat: A folder in your root directory named "backgrounds"...
containing an images directory and an index file that links to 5
other html documents that experiment with 5 different backgrounds.

0 Comments:

Post a Comment

<< Home