Title: Anyone good with CSS?
Durka Durka Mahn - December 31, 2006 07:56 PM (GMT)
I'm trying to make a tiny image to stretch to the size of the background of the forum. Does anyone know how to do this in CSS?
penguinsrule - December 31, 2006 08:44 PM (GMT)
body {
background-image:url(quake.jpg);
background-repeat:repeat;
}
Durka Durka Mahn - December 31, 2006 09:16 PM (GMT)
I don't want it repeating though, I want it to be stretched..
emcp - December 31, 2006 09:22 PM (GMT)
TRY THIS
body {
background-image:url(quake.jpg);
background-repeat:norepeat;
}
im pretty sure its someting like that
if not try this
body {
background-image:url(quake.jpg);
background-repeat:fixed;
}
what i do is take a screen shot and make a bg that size or just make a really big one and use the fixed command that means the bg doent scroll the text does
penguinsrule - December 31, 2006 09:41 PM (GMT)
CSS doesn't have a function that lets you stretch an image. You can repeat an image to get a similar effect, but that wont work very well with single-photo backgrounds.
RVA - January 8, 2007 05:30 AM (GMT)
I have this same problem and Can't seem to fix it... Look on myspace its bound to be in there somewhere, once you find it look in the source code. I dont think its CSS though. Ask TheY4Kman he is a wiz at that stuff man.