MyBB Community Forums

Full Version: CSS Code
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I am trying to alter the body section in global.css currently I have

#203446 url(images/bg1.gif) 0 0 no-repeat

but I would repeat the image in the top l/h corner (as now), top r/h corner and the same for the two bottom corners

Any ideas ?
Sorry, but I don't quite understand what you're wanting to do. Are you wanting to tile the image from the right rather than the left or what?
(2011-08-11, 04:46 PM)euantor Wrote: [ -> ]Sorry, but I don't quite understand what you're wanting to do. Are you wanting to tile the image from the right rather than the left or what?

I do not want to use repeat as this puts loads of images where in effect I just want 4 images 1 in each corner of the body you could look at the site in question
Well, you could use CSS3 multiple backgrounds - but they're only supported by Mozilla Firefox (3.6+), Safari/Chrome (1.0/1.3+), Opera (10.5+) and Internet Explorer (9.0+).

Anyway, here's the code:

background: #203446;
background-image: url(images/bg1.gif), url(images/bg1.gif), url(images/bg1.gif), url(images/bg1.gif);
background-position: top left, top right, bottom left, bottom right;
background-repeat: no-repeat;
I'll give it a go thanks