OK, I got it to work. I hadn't realised styled DIVs were so straightforward. Here's what works:<br><br>(:div style='[=width:300px; height:200px; padding:0px; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="
<a href="http://www.yoursite.com/uploads/Main/trans.png">http://www.yoursite.com/uploads/Main/trans.png</a>", sizingMethod="image")=]':)<br>(:divend:)<br><br>The style='[= ... =]' structure is needed otherwise PmWiki trips over the colons in the filter string. Good thing I learnt that trick earlier today with my linefeed problem! :-)
<br><br>The problem is that in browsers other than IE, this displays as an empty block. Of course in non-IE browsers, you just use the standard Attach: and all is well.<br><br>So the question now is, how do condition on browser type? I assume some sort of variable will need to be created and then enclose each method in mutually exclusive (:if:) tags using this variable?
<br><br><div><span class="gmail_quote">On 3/17/06, <b class="gmail_sendername">Allister Jenks</b> <<a href="mailto:arj@zkarj.co.nz">arj@zkarj.co.nz</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="direction: ltr;">Cheers. That looks like it is using similar stuff. I'll have a play. It still means ugly editing, but maybe when I figure out how to get it to work, someone can assist with converting.<br><br>
<div><span class="gmail_quote">
On 3/17/06, <b class="gmail_sendername">Chris Cox</b> <<a href="mailto:ccox@airmail.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ccox@airmail.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
</blockquote></div><div style="direction: ltr;"><span class="q">
Allister Jenks wrote:<br>> Has anybody managed to implement the transparent PNG hack described here (<br>> <a href="http://www.willhowat.com/knowledge/transparent_png.aspx" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.willhowat.com/knowledge/transparent_png.aspx
</a>) within PmWiki? I'm<br>> building a site on which I have a textured background and wish to use some<br>> irregularly shaped images.<br><br></span></div><div style="direction: ltr;"><span class="q">Have you looked at:
<br><a href="http://pmwiki.org/wiki/Test/Opacity" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://pmwiki.org/wiki/Test/Opacity
</a><br><br>Maybe that will help (??).<br></span></div></div></blockquote></div><br>-- <br>Allister