simple questions related to link colours for divs

liunx

Guest
lets say i have defined
a:link a:hover and a:visited and a:active to just say green.

and i have a div (assigned with a class lets say class is notgreen in css)
to make that div display a link in it a diffrent colour then what is defined (other than green) whould i just u do somthing like this

.notgreen, a:link {
or
.notgreen, :link { //though i think this is the same as above
or
.notgreen{
a:link

sorry bout this... simple answer but its troubling me when im not sure. btw i do not want to change the green links through out the rest of the page.<!-- m --><a class="postlink" href="http://mocfcvic.org.au/">http://mocfcvic.org.au/</a><!-- m --> reason i need it is for that site
if you look on the last post hopfully no body added to the site.. it has comment in the normal a:link colour i want that to be the light light blue (just incase some one posted <!-- m --><a class="postlink" href="http://mocfcvic.org.au/results/4/mr-mazenod---official-starters-list">http://mocfcvic.org.au/results/4/mr-maz ... rters-list</a><!-- m --> thats the link)a:link.notgreen {}thank u fang lol saved me heaps time :)
 
Back
Top