[css-d] does anyone have any experience with the behavioir property?

2008-05-28 Thread vincent pollard
good afternoon (in this time zone anyway)! we're using the behavior property in a style sheet to call an .htc file (to make png transparent in IE6). it works fine if the .htc file is copied into every folder and the style is like this: .pngfix { behavior: url('iepngfix.htc'); } but it seems that

Re: [css-d] does anyone have any experience with the behavioir property?

2008-05-28 Thread Ingo Chao
vincent pollard wrote: > ... it seems that the .htc file only works if in the same folder as the HTML > file and the path is relative to that, not relative to the stylesheet as > expected. > > can anyone shed some light on this? Yes, the path is relative to the html file. You can use an absolute

Re: [css-d] does anyone have any experience with the behavioir property?

2008-05-28 Thread vincent pollard
hey Ingo, thanks for that. it totally works. actually *behavior: url('/iepngfix.htc');* worked but we weren't seeing it work on local machines. on the testing server it worked! 2008/5/28 Ingo Chao <[EMAIL PROTECTED]>: > vincent pollard wrote: > >> ... it seems that the .htc file only works if in