View Single Post
  #5  
Old 08-27-2004, 02:59 AM
  EnriqueHavoc's Avatar 
EnriqueHavoc EnriqueHavoc is offline
 

eXpert
  
Join Date: Jul 2004
Posts: 232
 

Default

In another thread
http://forum.x-cart.com/viewtopic.php?t=12511

Lyncca showed me that there was a class being set in an encapsulating TD that was overriding the CSS changes i was making..

so lets say your code looks like:
Quote:
<td class="class1">
<table>
<tr>
<td class="class2">
<span class="class3">
Link
</span>
</td>
</tr>
</table>
</td>

the class1 in the top level TD will override any conflicting values (for instance- color) of all the other classes nested inside. its possible that may be whats tripping you guys up too. There are a couple ways to fix it:

1. in your skin1.css- change the top level TD class to the colors you want(this may be overkill though)
2. in your skin1.css- remove any conflicting font properties from the top level TD class and use another class in your template for the text/link
3. in your template- remove the class tag from the top level TD

sorry- hope that makes sense! it worked for me (thank lyncca
__________________
X-Cart 4.0.12
PHP 4.3.11
MySQL 4.0.23
Linux/Apache
Net::SSLeay 1.25
libCURL libcurl/7.12.0 OpenSSL/0.9.7a zlib/1.1.4
www.ewdhosting.com
Reply With Quote