PDA

View Full Version : Left and right background?


aceofspades
08-10-2007, 10:05 PM
Im trying to put an image as my left background and an image as my right background, so i can get an effect like this:

http://www.fnatic.com/

Does anyone know how to do that, i know its been asked before but nobody was able to give an answer.

James

helmlein
08-10-2007, 11:26 PM
nice idea. can somebody help??

it's the same like here by vbulletin.org

EvilKitty
08-11-2007, 02:06 AM
Main CSS
Page Background

border-left: url(http://etcetcetcetcetcetc.com)
border-right: url(http://etcetcetcetcetcetc.com)

Possibly?

MaestroX
08-11-2007, 02:36 PM
border-left: url(http://etcetcetcetcetcetc.com (http://etcetcetcetcetcetc.com/))
border-right: url(http://etcetcetcetcetcetc.com (http://etcetcetcetcetcetc.com/))

Possibly?

That won't work I'm afraid.

A solution would be to add <div class="background-left"><div class="background-right"> to the header (right at the top) template. Add the close div's right at the bottom of the footer template (</div></div>) and then add this to your css:

.background-left {
background: url(path/to/left/background/image.gif) left;
}
.background-right {
background: url(path/to/right/background/image.gif) right;
}

Obviously the code will need to be tweaked to suit your needs but it should work.

Hope this helps