Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PNG Transparency Support on Table Cell backgrounds on IE


TheJester

Recommended Posts

Posted

Hi all,

 

I'm having some trouble with Internet Explorer and it's lack of PNG Transparency support.

 

I've attempted at least a dozen methods of enabling the support, but all seem to be for <img ... > tags, where as I'm attempting to fix it as a table cell background.

 

<td background="images/gradient.png" style="vertical-align: top;">

 

like so.

 

Any help would be greatly appreciated.

 

TheJester

Posted

There is no such animal as .png transparency support in IE - no matter what you do.

 

You'll have to fake it e.g. overlaying the background image with another image that uses the same background.

 

Vger

Posted

I had originally done that but the background I'm using now is patterned and static, not plain.

 

What IE does to it:

 

1j3uc5.jpg

 

 

What it should look like:

 

2eumq7b.jpg

Posted

Nevermind, thanks for your help anyway.

 

I managed to sort it using some CSS (I should have used it in the first place, really).

  • 4 months later...
Posted
There is no such animal as .png transparency support in IE - no matter what you do.

 

You'll have to fake it e.g. overlaying the background image with another image that uses the same background.

 

Vger

 

This is not strictly true.

There is support - but you have to use a bit of JavaScript to fix it.

 

Drop me a PM if you still need info.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...