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

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to