html expertise anyone.
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
In article <3A23A8D6.ECDD8BBF@nipltd.com>, Chris Withers <chrisw@nipltd.com> writes
Robin Becker wrote:
I can do this using a class
So maybe do it using a class then? ;-)
Chris
yes I am, but surely there has to be a way to do this stuff in line. That way I don't have to predefine all the link behaviours and include in the standard header. I know that the pseudo class things are called :link :active etc. -- Robin Becker
Robin, IIRC it can be done but I never used it myself because I think it's annoying and it is confusing for the visitors. *G* But you should definitively check www.echoecho.com. If it is possible it *will* be posted there. HTH Dany
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Robin Becker Sent: Tuesday, November 28, 2000 9:21 AM To: zope@zope.org Subject: Re: [Zope] html expertise anyone.
In article <3A23A8D6.ECDD8BBF@nipltd.com>, Chris Withers <chrisw@nipltd.com> writes
Robin Becker wrote:
I can do this using a class
So maybe do it using a class then? ;-)
Chris
yes I am, but surely there has to be a way to do this stuff in line. That way I don't have to predefine all the link behaviours and include in the standard header. I know that the pseudo class things are called :link :active etc. -- 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 )
In article <NEBBJHNBGMHMEOLOKLALMEJLCAAA.rdany@drioux.com>, Dany Rioux <rdany@drioux.com> writes
Robin,
IIRC it can be done but I never used it myself because I think it's annoying and it is confusing for the visitors. *G* But you should definitively check www.echoecho.com. If it is possible it *will* be posted there.
... thanks I'll have a look there. -- Robin Becker
participants (3)
-
Chris Withers -
Dany Rioux -
Robin Becker