[pmwiki-users] CSS link text properties

Henrik Bechmann henrik.bechmann at sympatico.ca
Fri Sep 29 20:33:27 CDT 2006


The mnemonic for the correct order is LoVe-HAte

Patrick R. Michaud wrote:
> On Sat, Sep 30, 2006 at 10:34:30AM +1000, Kathryn Andersen wrote:
>   
>> On Sat, Sep 30, 2006 at 02:10:44AM +0200, potax flan wrote:
>>     
>>> i'm trying to understand how to edit my copy of the standard skin to
>>> customize my wiki.
>>> so far so good, but i'm stuck with the links. while i managed to do it
>>> on the sidebar, i can't seem to change the color of the link text and
>>> the color of visited links in the main area.
>>>       
>> Visited links get defined in CSS as
>> a:visited
>>
>> The trilogy for links is
>> a:link (for links, as distinct from anchors)
>> a:visited (visited links)
>> a:hover (hovering over a link)
>>     
>
> Actually, it's a trilogy in four parts. :-) 
>
>     a:link       (links)
>     a:visited    (visited)
>     a:hover      (pointer is over a link)
>     a:active     (browser is activating a link)
>
> Also, when specifying each of these pseudo-classes, it's
> a really good idea to do it in the order above; some browsers
> get confused if they're in a different sequence.
>
> Pm
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>   

-- 

Henrik Bechmann
www.osscommons.ca
www.bechmannsoftware.com
Webmaster, www.dufferinpark.ca





More information about the pmwiki-users mailing list