1 reply [Last post]
tzug
Offline
Regular
Last seen: 16 years 32 weeks ago
Joined: 2004-09-28
Posts: 21
Points: 0

hi
i've got this :
a.link_white:link {...}
a.link_white:visited {...}
a.link_white:hover {...}
a.link_white:active {...}

the 'link' and 'visited' are the same !
so are the 'hover' and 'active' !

why isnt this working :
a.link_white:link:visited {...}
a.link_white:hover:active {...}

briski
briski's picture
Offline
Elder
London
Last seen: 8 years 47 weeks ago
London
Timezone: GMT+1
Joined: 2004-02-16
Posts: 1066
Points: 0

a:link grouping

Because it's the incorect syntax, your saying give me

the link with a class of link_white AND in the hover state AND in the Active state

rather than

(the link with a class of link_white AND in the hover state) OR (the link with a class of link_white AND in the Active State)

Use

a.link_white:link, a.link_white:visited
{...}
a.link_white:hover, a.link_white:active
{...}