Ya, the meaning of focus in CSS is a bit different than what we would 
traditionally think in a user interface.

instead of "li:focus" try "span.itemselected"

I think it is what you are actually looking for.

Regards,
Thomas Suckow

On 09/14/2010 06:42 AM, Koen Deforche wrote:
> Hey Tobias,
>
> 2010/9/14 Tobias Wahl<[email protected]>:
>    
>> Hello!
>>
>> I have a problem with the WTabWidget CSS-style. In a special case, I need to
>> set a custom style to the activated menu tab li-element.
>> li:hover and li:active works fine, but it seems to be no chance to use
>> li:focus.
>>      
> That is probably because the item cannot receive focus (i.e. does not
> have tabindex) ?
>
> Regards,
> koen
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>    

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to