Robin, My educated guess is that what you want can't be achieved other than with css. The <a> tag has no properties for changing colors of one particular link. The <body> tag is the only place for this and as you know this changes them globally. This taken from the HTML reference Library: <A HREF="link_destination" NAME="URL_fragment" TITLE="Title_of_destination" REL="Forward_relationship" REV="Reverse_relationship" URN="Uniform_Resource_Name" METHODS="Function_information" TARGET="Name_of_target_window_or_frameset" ACCESSKEY="Shortcut_setting" LANG="Document language" LANGUAGE="Script_language" INDEXSTRING="NetHelp_index_keyword" TOCSTRING="NetHelp_contents_entry" CLASS="className" ID="unique_id" STYLE="style_setting" DATAFLD="Column name" DATASRC="Data Source"
From the horses mouth so to speak :(.
If I needed to do this I'd use css in some way. Phil ----- Original Message ----- From: "Robin Becker" <robin@jessikat.fsnet.co.uk> To: <zope@zope.org> Sent: Tuesday, November 28, 2000 11:22 PM Subject: Re: [Zope] html expertise anyone. | In article <009c01c05961$a584d6a0$ae03a8c0@fork>, Andy McKay | <andym@ActiveState.com> writes | >I think this is a css question and not related to DTML. Go to | >http://freezope.nipltd.net/dna and you will see a simple style sheet that | >shows use of active and visited links. | >-- | ... | yes I know how to set up style sheets; what I want is to be able to use | inline definitions for the :link, :active, :visited (:hover) colours. I | just don't know the correct incantation. | -- | Robin Becker | | _______________________________________________ | Zope maillist - Zope@zope.org | 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 )