dav
08-16-2006, 06:05 AM
Hi all.
I want to design a gradient background which runs down the horizontal and vertical length of my webpages.
I took a tutorial and I was told to make a thin vertical strip and shade it accordingly (dark at the top blending to lighter at the bottom). I did this in Powerpoint and saved it as a gif. I then uploaded the image to my server.
I then used some css script that said it would fill the page. However, it simply has a white background and the strip which I created running down the centre of the page only.
Here is the script I used...
<style type="text/css">
body
{
background-image:
url('image.gif') background-repeat: repeat-x
}
</style>
I also tried replacing the x with a y but still to no avail.
Any ideas? Perhaps, making a strip in Powerpoint isn't the way to go and perhaps I should create my gradient using a full page. But surely, if my webpage is bigger than the Powerpoint image it still will not fill the webpage?
TIA - Dav.
I want to design a gradient background which runs down the horizontal and vertical length of my webpages.
I took a tutorial and I was told to make a thin vertical strip and shade it accordingly (dark at the top blending to lighter at the bottom). I did this in Powerpoint and saved it as a gif. I then uploaded the image to my server.
I then used some css script that said it would fill the page. However, it simply has a white background and the strip which I created running down the centre of the page only.
Here is the script I used...
<style type="text/css">
body
{
background-image:
url('image.gif') background-repeat: repeat-x
}
</style>
I also tried replacing the x with a y but still to no avail.
Any ideas? Perhaps, making a strip in Powerpoint isn't the way to go and perhaps I should create my gradient using a full page. But surely, if my webpage is bigger than the Powerpoint image it still will not fill the webpage?
TIA - Dav.
