Posts: 1,382
Name: Abel Mohler
Location: Asheville, North Carolina USA
|
Here is the image they are using for that background: http://glenwoodcitywi.com/uploads/andreas01/bg.gif
This image could be placed onto the background of the body(for example) like this:
Code:
body {
background: url(../images/bg.gif) center top repeat-y #1c2e72;
}
Note that that color used for the background color matches the last color in the gradient, so that if the page is viewed with an very wide monitor, the page will still be filled with color. The background is centered, and repeats along the y-axis only, lending to the illusion that it is a part of the page.
This could also be expressed like this:
Code:
body {
background-image: url(../images/bg.gif);
background-position: center top;
background-repeat: repeat-y;
background-color: #1c2e72;
}
I prefer the shorthand method in most cases.
__________________
<!--if a signature drops in the forest, and no one is there to see it, does it make a link?-->
|