[Zope] html expertise anyone.

Robin Becker robin@jessikat.fsnet.co.uk
Tue, 28 Nov 2000 11:02:06 +0000


I am trying to change the colour of links dynamically using dtml.
However, I cannot find the right incantation to change my links using an
inline style except for

<a href=A style="color: red">A</a>

I really would like to be able to set the link, active and visited
colours.

I can do this using a class

eg

<head>
<style>
<!--
A:link, A:visited, A:active {font-weight: bold}
A.badLink:link, A.bad:visited, A.bad:active {color: red; font-weight:
bold}
-->
</style>


.....

<a class=badLink....> works
-- 
Robin Becker