Log in

View Full Version : This must sound REALLY stupid but....



alexxxxx
14-12-2005, 08:55 PM
What is the HTML code to get an image to be a background but not repeat. The way people code layouts, that code. I can do the other HTML/PHP by myself.

3lementGFX
14-12-2005, 09:33 PM
Welp if your trying to do it like that go to photoshop make yourself a layout, slice it, code it. Thats all, i dont really know what you mean by HTML code cause not all templates have same code, and one more thing i thought you said you knew HTML well? And arnt you making that Mafia Text RPG thing?

alexxxxx
14-12-2005, 09:37 PM
Welp if your trying to do it like that go to photoshop make yourself a layout, slice it, code it. Thats all, i dont really know what you mean by HTML code cause not all templates have same code, and one more thing i thought you said you knew HTML well? And arnt you making that Mafia Text RPG thing?

Ja. I Meant, say if I wanted to create a website where I could change the background easily but keep the same dimensions, I could place a Background picture and then put the text on top, but I do not know the code to put in the image tag or CSS or whatever people use to get this effect.

I didn't say I knew LOADS about HTML, but I know more than just the basics. And also I do not have photoshop, I cannot afford it.

Dan Williamson
14-12-2005, 09:41 PM
body
{background-image: url(yourimage.gif);
background-repeat: no-repeat
}


- Dan

alexxxxx
15-12-2005, 04:45 PM
body
{background-image: url(yourimage.gif);
background-repeat: no-repeat
}


- Dan

Thanks mate.

Want to hide these adverts? Register an account for free!