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! |
Hi
looking at the code I notice that the xcart directory is not included, is this a typing error? If not the url should read: www.your_website/xcart_directory/images/blah.gif Regards, |
All times are GMT -8. The time now is 11:29 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.