I tried placing the new stylesheet both above and below the existing
stylesheets, my styles is still not applied. My stylesheet looks like this:
a:link, a:visited {
text-decoration:none;
color:#b00f;
border-bottom:1px dotted #bbb;
}
-----Ursprungligt meddelande-----
Från: [email protected] [mailto:[email protected]] För
Noah Kantrowitz
Skickat: den 21 april 2009 23:59
Till: [email protected]
Ämne: [Trac] Re: Change link color in one Trac site
> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> On Behalf Of Junk
> Sent: Tuesday, April 21, 2009 12:44 PM
> To: [email protected]
> Subject: SV: [Trac] Re: Change link color in one Trac site
>
>
> Thank you for answering! Very much appreciated!
>
> But how would I "override" the earlier stylesheets link color? If I
> specify
> them again the first one applies.
In general, given two identical rules, the later one applies. CSS has a
fairly complex scoring concept where some rules can bind tighter than
others, etc etc, but you should be able to just copy the exact selectors you
want to change.
--Noah
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---