davidstummer Posted May 19, 2003 Posted May 19, 2003 instead of having a white background, is there any way you can add an image, much like the one on www.no-1-plates.co.uk, to osc?
Silencer Posted May 19, 2003 Posted May 19, 2003 Edit stylesheet.css Instead of: BODY { background: #ffffff; color: #000000; margin: 0px; } write something like: BODY { background: blue; image: http://www.domain.com/image.jpg; color: #000000; margin: 0px; } More compatible way is set background attribute in BODY tag, but you need do this in EVERY file in root osc folder. There is always more than one way to do it. And always Keep It Simple, Stupid.
Brenden Posted May 19, 2003 Posted May 19, 2003 Silencer was close. But the code wasnt quite right. Change stylesheet.css: BODY { background: #ffffff; color: #000000; margin: 0px;} to: BODY { background: url(pathToImage/fromStylesheet/image.jpg) no-repeat; color: #000000; margin: 0px;} This is the most compatible way of giving all of your pages a background image. Perdure - Transparent Object Relational Persistence
Recommended Posts
Archived
This topic is now archived and is closed to further replies.