View Single Post
  #1  
Old 10-11-2002, 10:59 PM
 
Anonymous Anonymous is offline
 

eXpert
  
Join Date: Sep 2002
Posts: 222
 

Default Adding background image in CSS file?

Hi, I'm having trouble using an image for the main background and in tables.
I'm using something similiar to this in skin1.css:

.background {
background-image: url(http://www.mywebsite/images/blah.gif);
}

but that doesn't seem to work. i've tried adding quotes, switching between absolutes and relative links, this and that. i can change the background colors just find for tables and the main document, but how do i use an image as a background? it works if i go in directly into the particular page and put the html in for the element i want to have an image background, but i would prefer to do this in the style sheet and save myself a lot of work. any help would be great!
Reply With Quote