W3C home > Mailing lists > Public > www-style@w3.org > January 2001

RE: Help with a.links

From: Jeffrey Yasskin <jyasskin@hotmail.com>
Date: Tue, 30 Jan 2001 17:27:25 -0600
To: www-style@w3.org
Message-ID: <F2700ZkfzDskqC5EtrU00000242@hotmail.com>
I think the better solution is to put a DIV around the side navigation bar 
and make its class "sideNav". Then your stylesheet could say:

DIV.sideNav A.link {color:blue}

That saves a lot of typing in the actual <A> tags, and you can also style 
the navbar as a whole.

Jeffrey Yasskin, MCSD

----Original Message Follows----
From: "Lindsay Evans" <lindsay@redsquare.com.au>
To: <www-style@w3.org>
Subject: RE: Help with a.links
Date: Wed, 31 Jan 2001 09:07:16 +1100

If you assign a class to the links you use in the navigation bar, like so:
<a href=..." class="sideNav">

then you can use those in you stylesheet def:


  Lindsay Evans.
  Production Artist/Coder,
  Red Square Productions.

  vox: 9519.4599
  fax: 9519.4699
  web: www.redsquare.com.au

-----Original Message-----
From: www-style-request@w3.org [mailto:www-style-request@w3.org]On
Behalf Of James.Lucier@Intelsat.int
Sent: Wednesday, January 31, 2001 3:03 AM
To: www-style@w3.org
Subject: Help with a.links

I was wondering if anyone could help me with a little problem I am having. I
have created this style sheet and having a problem with the alink, vlink and
ulink. In the style I have created the body style with 3 different colors
for them. Now where I am running into problems is I also want a side
navigation bar that has different colors for the alink, vlink, and ulink, is
this at all possible ? Thanks in advance.


James Lucier
Internet Developer, Online Business Services
Information Products & Strategies
INTELSAT              www.intelsat.int
+    james.lucier@intelsat.int

Get your FREE download of MSN Explorer at http://explorer.msn.com
Received on Tuesday, 30 January 2001 18:27:59 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:56 UTC