[thelist] more incorrect use of ID parameter

Lachlan Cannon luminosity at members.evolt.org
Wed Feb 12 23:03:01 CST 2003

Miles Tillinger wrote:
> how else can I apply custom classes to <a> tags? Any good ideas?

Either put classes on them like you would anything else, or give a
unique id to a parent element, eg:

<ul id="nav">
<li><a href="/there/">Nav Link 1</a.</li>

And then you can just go

#nav a:link {
	color: hot-pink;

and so on.
Web: http://illuminosity.net/
E-mail: lach @ illuminosity.net
MSN: luminosity @ members.evolt.org

More information about the thelist mailing list