kartingmatt38
03-11-2004, 04:40 AM
I'm trying to make a background out of a gradient, but it always repeats the gradient... I'm trying to get the effect there is only one, but how?
I'm using this code:
<body background="IMAGE URL">
Any help, would be appreciated ASAP!
Thanks. :)
salomeyasobko
03-11-2004, 04:56 AM
use this instead:
<style type="text/css">
body {background-image: url(IMAGE URL); background-repeat: no-repeat;}
</style>
that should work :)
kartingmatt38
03-11-2004, 05:10 AM
use this instead:
<style type="text/css">
body {background-image: url(IMAGE URL); background-repeat: no-repeat;}
</style>
that should work :)
Still didn't do it, just the image. This is the link for the page: http://historicracemodelcars.com/other/other.html
Thanks. :)
salomeyasobko
03-11-2004, 05:13 AM
oh sorry, i thought that's what you wanted [silly me, i didn't read the question properly.. sorry :blush:]
what kind of effect did you have in mind? because they only ones i know of are 1) make the background image repeat vertically and 2) make the background image repeat horizontally
:lol:
kartingmatt38
03-11-2004, 05:22 AM
oh sorry, i thought that's what you wanted [silly me, i didn't read the question properly.. sorry :blush:]
what kind of effect did you have in mind? because they only ones i know of are 1) make the background image repeat vertically and 2) make the background image repeat horizontally
:lol:
I just want the image on the website (gradient) to be the complete background, fill the whole screen with only 1 image. :)
Thanks. :)
bourdelson
03-11-2004, 09:02 PM
I just want the image on the website (gradient) to be the complete background, fill the whole screen with only 1 image. :)
Thanks. :)
I think to do that you'd have to resize it in a graphics program. I can't think of a way to do it using HTML. So, if you have PSP, Photoshop, MS Paint, or something, open that up and resize the gradient to whatever size you want it to be for your background. I think that's the best way to go about it. :)