Jump to content

Changing Background Image AND Color


Recommended Posts

Very newbie question but I wasn't able to find the solution by searching and I've already spent too much time on what should be a simple task. Basically I want to add a background image repeating x AND have a color behind (to complete the gradient no matter how long (y axis) the page becomes)

 

Is this not possible?

 

 

body {background-image: url('bg.jpg') repeat-x;font:normal 12px "Arial", Arial, Helvetica,

 

sans-serif;color:#888;}

 

but how can I add a bg color as well?

Link to comment
Share on other sites

That didn't work??

Okey, the image or the background don't work?

 

Image: it is very important to set right path maybe you can try: (../img/bg.jpg')

example from one of our own site is:

background: #e5e5e5 url(../img/body-bgr.gif) repeat-x top left;

 

it works,

maybe you should check if you had set force compile to YES before editing.

B.O -->preferences-->performance-->force compile, set to yes

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...