Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

problems with css

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-05-2006, 04:12 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default problems with css

I'm trying to do a new skin for my site which will be upgraded to 4.0.18 and I just can't get the css to work.

Every css app I use seems to think it's all OK, but it's just not displaying, so maybe I'm being really thick?

This is part of the source html:

Code:
<TR><TD height="100%">[img]/xcart/skin1/images/spacer.gif[/img]</TD></TR> <tr> <td> [img]/xcart/skin1/images/wtc_10.jpg[/img]</td> <td> [img]/xcart/skin1/images/wtc_11.jpg[/img]</td> <td><div class="cell12">Copyright &copy; 2004-2006 Willow Tree Crafts</div></td> <td> [img]/xcart/skin1/images/wtc_13.jpg[/img]</td> </tr>

and this is the css style that I think should apply:

Code:
.cell12 { background: #ffffff url(images/wtc_12.jpg) repeat-x top; }

The only thing I can think of is that the problem is in the url, but The images are in the skin1/images folder which is where I think I am referencing?

I have just changed the css file to background: #000000; and the right section has gone black so I think it must be in the file reference.

Can anyone help me?

tia

Amy
(for a 4.0.18 site)
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote
  #2  
Old 04-05-2006, 05:12 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Try applying the style to the table cell instead of the div tag...
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 04-05-2006, 05:26 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default

**THANKS**

That did it,

I added the div in because I couldn't get the td to work. It's working now though,
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:56 PM.

   

 
X-Cart forums © 2001-2020