[pmwiki-users] apply class to link

Patrick R. Michaud pmichaud at pobox.com
Fri Apr 13 09:19:26 CDT 2007


On Fri, Apr 13, 2007 at 10:10:05AM -0400, Henrik wrote:
> Given
> 
> a.native:hover {
>  background-color:transparent;
> }
> 
> >Out of curiosity, why is "%wikistyle%[[SomeLink]]" insufficient?  
> >
> >  
> 
> Style rules like background-color don't inherit.

One can always do:

   span.native a:hover { background-color:transparent; }

I'll see what I can do about the doubled class= attributes.
Combining multiple class= and style= attributes is just a
major pain in terms of PHP code, unfortunately.

Pm



More information about the pmwiki-users mailing list