[pmwiki-users] opacity summary

H. Fox haganfox at users.sourceforge.net
Sat Sep 17 15:53:43 CDT 2005


I think your best bet is to create a CSS selector,  then use the class
in a wikistyle.

$HTMLStylesFmt[] = '
  .opaque50 img { filter:alpha(opacity=50); opacity:0.5; -moz-opacity:0.5; } ';

then

%opaque50%foo.jpg%%

Hagan

On 9/17/05, Stephan Schildberg <schildberg at scoid.de> wrote:
> Although div tags are not recommended, as it breaks print and more
> functions, I have resons to justify them for some projects.
> Div tags work fine for me, - normally. recently I started to experiment
> with opacity styles.
> 
> Is there a chance to tweek it?
> 
> 
> While writing:
> 
> (:div id='floating1' name='floating1' style='position:absolute;
> top:73px; left:121px; width:900px; height:90px;
> background-color:#829DAB; background-repeat:no-repeat; border:0px solid
> #000; padding:0px; z-index:10; opacity:.50;filter: alpha(opacity=50);
> -moz-opacity: 0.5':)
> (:divend:)
> 
> PmWiki does:
> 
> <p class='vspace'></p><div  id='floating1' name='floating1'
> style='position:absolute; top:73px; left:121px; width:900px;
> height:90px; background-color:#829DAB; background-repeat:no-repeat;
> border:0px solid #000; padding:0px; z-index:10; opacity:.50;
> filter:Alpha(opacity='50,' finishopacity='0,' style='2);' -moz-opacity:
> 0.5'>
> </div>
> 
> as you can see in:
> 
> The original file, composed by PmWiki which works in Win FF but NOT in IE
> http://www.material-raum-form.com/mrf/pmwiki.php/Offices/Bueros
> 
> but it should output:
> 
> <p class="vspace"></p><div id="floating1" name="floating1"
> finishopacity="0" style="border: 0px solid rgb(0, 0, 0); padding: 0px;
> position: absolute; top: 73px; left: 121px; width: 900px; height: 90px;
> background:rgb(130, 157,
> 171);filter:alpha(opacity=50);-moz-opacity:.50;opacity:.50; z-index:10;" >
> </div>
> 
> as you can check in my own reference:
> 
> Handwritten correction which works in Win FF and IE
> http://www.material-raum-form.com/mrf/Bueros.htm
> 
> regards, Stephan.
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>




More information about the pmwiki-users mailing list