View Full Version : Background image
mikacruz
05-02-2008, 11:36 PM
Hello, How could I replace all of the background area that is green in www.sacred-egypt.com with a repeated image? thanks a lot!
gnomeontherun
05-02-2008, 11:40 PM
In the style1.css file change this
#container {
text-align: left;
width: 720px;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
background-color: #999933;
height: 823px;
}
to something like this
background: url(images/image.jpg);
and it will automatically place the image (change the link) and tile it.
Apostropartheid
05-02-2008, 11:41 PM
#container {
background: #993 url(/path/to/image.png);
}
*BANG* JEREMY!
gnomeontherun
05-02-2008, 11:45 PM
Winner! :thumbsup:
Although good call with keepting the #993, that will still place the color in the background in the case the image doesn't load.
mikacruz
05-02-2008, 11:56 PM
you guys rock.. thank you!!!!
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.