Hi John,

for style you don't need f:verbatim, you can use
<tc:style>
img {
 behavior: url("pngbehavior.htc");
}
</tc:style>

the content of tc:style is rendered into style tags inside of html head

regards
 Volker

2006/5/22, John <[EMAIL PROTECTED]>:


This works! Thank you.
The trick is:

1) making sure the blank.gif is in the root of the web application with the
pngbehavior.htc file
2) use <f:verbatim> tags surrounding the style tags at the beginning of the
document

<f:verbatim>
<style type="text/css">

img {
 behavior: url("pngbehavior.htc");
}

</style>
</f:verbatim>



 ________________________________
 From: Rogerio Pereira [mailto:[EMAIL PROTECTED]
Sent: Sunday, May 21, 2006 6:01 PM
To: MyFaces Discussion
Subject: Re: Does anyone have the IE png fix working with Tobago/myFaces?


I'm using PNG Behavior in my JSF/Facelets apps:

http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html

works fine for me...


Reply via email to