| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Adding background image in CSS file? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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! |
|||||||
#2
|
|||||||
|
|||||||
![]() 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,
__________________
Syddos Nothing is impossible, We just don't know how to do it ........Yet! Xcart 4.1.X PRO (Testing Platform: winXP Pro) Perl 5.8.7 (win32) WINAMP 1.6.3 (win32 server package. Includes the following) - phpMyAdmin v2.8.03 - MySql 5.0.21 - Apache 2.0.55 (win32) - php 5.1.4 - SQLitemanager 1.2.0 |
|||||||
|
|||
X-Cart forums © 2001-2020
|