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
|
|