Applying PNG transparency for IE6 - Smarty error


I’m trying to modify our template so that it supports PNG transparency in Internet Explorer 6. I’m changing our template and I really need it to work. This solution works in a multitude of CMSs, but unfortunately Smarty is conflicting with it. The code is as follows, and I have pasted it in the “meta.tpl”



The error I get is:

Fatal error: Smarty error: [in meta.tpl line 10]: syntax error: unrecognized tag: behavior: url(;
(Smarty_Compiler.class.php, line 439) in C:\Programfiler\Xampp\xampp\htdocs\illusion\classes\templater\Smarty.class.php on line 1095

This is a VERY interesting solution that solves the problem of PNG transparency in IE6 and gives us a lot of freedom in designing out template. Some examples of it in action are below:

[url][/url] << this is where I’m taking inspiration from…

[url][/url] << another great theme

Hope someone can help. This is going to be hot, it just has to work! :wink:

try surrounding the code above with


your code here.


Thanks ETInteractive,

CS-Cart support recommended the same thing, but it didn’t really work… however I used a javascript solution and it worked partly. The result wasn’t good enough to apply it :frowning:

The best solution would be to have the one I proposed, but I can’t seem to make it work in CS-Cart. In Joomla it works like a charm!

If anyone get curious and want to mess up a bit with it, I’ll be glad to brainstorm.


Why not create a new CSS sheet and link it, rather than hardcode the style in the page.



Have done it, but might do it again because I tried so many things that is hard to remember if I tried all possible combinations in both cases.

I think it could still work. Would be a great dream come true for cscart designers.

Come back to you once I’ve given it another go.