maz.net.au

Maz

Warning! Camera related content ahead!


Inline CSS hyperlink color
In category Geebin on 05 Jun 2006 @ 01:05 am
I tried and I tried but I can't find out how to set a link colours from a div to a link inside it..

<div class="something" style="purple links"><a href="purple.html">i am purple</a></div>

If anyone has a solution please let me know but I get the impression that it's impossible.
<div class="purple"><a href="purple.html">I am purple</a></div>

and in your stylesheet:
div.purple a {
color: purple or #XXXXXX
}
# Comment by thei on 05 Jun 2006 @ 11:08 am
http://the-i.org/
Can't do it like that because the colour it's set to is done dynamically. I need to be able to put the colour code inline.
# Comment by Maz on 05 Jun 2006 @ 11:45 am


Valid XHTML 1.0 Strict Valid CSS! Powered by PHP No Database

Menu




Powered by:
Powered by MOSS