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

Transparent Gifs Not Working

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 08-29-2008, 09:36 AM
  MrBadass's Avatar 
MrBadass MrBadass is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 42
 

Default Re: Transparent Gifs Not Working

Quote:
Originally Posted by balinor
That shouldn't have anything to do with the image, unless you put the image inside a table cell or div tag.

I didn't have any tags on it until I tried adding the background-color: none.

Here's the code...

Code:
<a href="http://www.instantssl.com" id="comodoTL">SSL</a> <script language="JavaScript" type="text/javascript"> COT("images/secure_site.png", "SC2", "none"); </script>
__________________
Dali Wall Decals
www.dalidecals.com
X-Cart Version 4.1.10
Reply With Quote
  #12  
Old 08-29-2008, 09:44 AM
 
balinor balinor is offline
 

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

Default Re: Transparent Gifs Not Working

Yes, but is that code sitting in a table cell or div? Because the style you have above tells EVERYTHING to have a white background. You need to break up that class so that you only apply the white background to one item - not everything.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #13  
Old 08-29-2008, 09:48 AM
  MrBadass's Avatar 
MrBadass MrBadass is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 42
 

Default Re: Transparent Gifs Not Working

Quote:
Originally Posted by balinor
Yes, but is that code sitting in a table cell or div? Because the style you have above tells EVERYTHING to have a white background. You need to break up that class so that you only apply the white background to one item - not everything.

Ok...take a look now...I split up the code as follows and seems to be working. I'll have to go through the site and see if there are any issues with the change.

Code:
BODY, TH,TD,P,INPUT,SELECT,TEXTAREA,TT { color: #232323; font: 10px Verdana, Arial, Helvetica, Sans-serif; background-color: #FFFFFF; } DIV { color: #232323; font: 10px Verdana, Arial, Helvetica, Sans-serif; }
__________________
Dali Wall Decals
www.dalidecals.com
X-Cart Version 4.1.10
Reply With Quote
  #14  
Old 08-29-2008, 09:58 AM
  MrBadass's Avatar 
MrBadass MrBadass is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 42
 

Default Re: Transparent Gifs Not Working

Everything around the site appears to look the way it should, and the transparency is working for both the images I was having a problem with. Thanks so much...again...I really appreciate it!
__________________
Dali Wall Decals
www.dalidecals.com
X-Cart Version 4.1.10
Reply With Quote
  #15  
Old 08-29-2008, 10:02 AM
 
balinor balinor is offline
 

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

Default Re: Transparent Gifs Not Working

__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #16  
Old 08-29-2008, 01:31 PM
  Zaja's Avatar 
Zaja Zaja is offline
 

X-Adept
  
Join Date: Mar 2004
Location: The Universe is my home
Posts: 420
 

Default Re: Transparent Gifs Not Working

You don't need to add a background color to TH,TD,P,INPUT,SELECT,TEXTAREA,TT elements, just add background property to .Container class(page wrapper) and BODY element .
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:33 PM.

   

 
X-Cart forums © 2001-2020