Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: Link colors

  • Subject: Re: Link colors
  • From: Roy Schestowitz <newsgroups@schestowitz.com>
  • Date: Thu, 21 Jul 2005 03:14:38 +0100
  • Newsgroups: alt.html
  • Organization: schestowitz.com / Manchester University
  • References: <9lDDe.2095$Qy1.170@fe09.lga> <dbmvui$h99$1@agate.berkeley.edu>
  • Reply-to: newsgroups@schestowitz.com
  • User-agent: KNode/0.7.2
Animesh Kumar wrote:

> Brian wrote:
> 
>> Hello:
>> I'm having trouble doing this and I was hoping someone could help me. I
>> created a site in dreamweaver and made a template out of it. I set the
>> default colors for the links in the the page settings. I need to have the
>> colors of the links change in different sections of the site. Can this be
>> done.
>> Thanks
>> Brian
>> 
>> 
>> 
> 
> Different sections = different pages? If yes, then it can be done. You
> may want to define them in style-sheet for brevity and continuous
> revisions. For instance:
> 
> a:link {
> text-decoration: none;
> color: grey;
> }
> 
> removes the underline below a link and makes them of grey color. Google
> for "CSS link style" without quotes.
> 
> Best
> A

If different sections, where the word "section" could refer to many things
at different levels, are _regions_ of the page, e.g. menu and footers, then
use a deeper stylesheet hierarchy. I am pretty convinced you could define

.menu:a:link {
text-decoration: none;
color: grey;
}

I am fairly sure I got the syntax wrong, but I hope it convery the idea. I
also hope it's indeed supported.

Roy

-- 
Roy S. Schestowitz
http://Schestowitz.com

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index