You are here: Re: Link colors « HTML « IT news, forums, messages
Re: Link colors

Posted by Roy Schestowitz on 07/21/05 05:14

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация