[pmwiki-users] Request: Transparent PNGs in PmWiki
arj at zkarj.co.nz
Fri Mar 17 02:45:41 CST 2006
OK, I got it to work. I hadn't realised styled DIVs were so
straightforward. Here's what works:
(:div style='[=width:300px; height:200px; padding:0px; filter:progid:
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! :-)
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.
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?
On 3/17/06, Allister Jenks <arj at zkarj.co.nz> wrote:
> 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.
> On 3/17/06, Chris Cox <ccox at airmail.net> wrote:
> > Allister Jenks wrote:
> > Has anybody managed to implement the transparent PNG hack described here
> > http://www.willhowat.com/knowledge/transparent_png.aspx ) within
> PmWiki? I'm
> > building a site on which I have a textured background and wish to use
> > irregularly shaped images.
> Have you looked at:
> Maybe that will help (??).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pmwiki-users