Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Link colors

Reply
Thread Tools

Link colors

 
 
Brian
Guest
Posts: n/a
 
      07-21-2005
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



 
Reply With Quote
 
 
 
 
Animesh Kumar
Guest
Posts: n/a
 
      07-21-2005
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
 
Reply With Quote
 
 
 
 
Roy Schestowitz
Guest
Posts: n/a
 
      07-21-2005
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
 
Reply With Quote
 
dorayme
Guest
Posts: n/a
 
      07-21-2005
> From: Animesh Kumar <>
>
> 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.


Can also be done for same web page.

dorayme

 
Reply With Quote
 
Spartanicus
Guest
Posts: n/a
 
      07-21-2005
"Brian" <> wrote:

>I need to have the
>colors of the links change in different sections of the site. Can this be
>done.


It's a very effective method to confuse your visitors to no end, don't.

--
Spartanicus
 
Reply With Quote
 
Adrienne
Guest
Posts: n/a
 
      07-21-2005
Gazing into my crystal ball I observed Spartanicus
<> writing in
news: anicus.utvinternet.ie:

> "Brian" <> wrote:
>
>>I need to have the
>>colors of the links change in different sections of the site. Can this
>>be done.

>
> It's a very effective method to confuse your visitors to no end, don't.
>


Not necessarily. If you have a menu with links of one color, you might
want the content links to be another color. If the menu background color
is blue, and the content background color is white, you would not want
the menu color to be blue, but you would probably want the content color
to be blue.

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
 
Reply With Quote
 
Spartanicus
Guest
Posts: n/a
 
      07-21-2005
Adrienne <> wrote:

>>>I need to have the
>>>colors of the links change in different sections of the site. Can this
>>>be done.

>>
>> It's a very effective method to confuse your visitors to no end, don't.

>
>Not necessarily. If you have a menu with links of one color, you might
>want the content links to be another color.


As I read it the OP wants to define different links colours for
different pages of the same site.

--
Spartanicus
 
Reply With Quote
 
Adrienne
Guest
Posts: n/a
 
      07-21-2005
Gazing into my crystal ball I observed Spartanicus
<> writing in
news: anicus.utvinternet.ie:

> Adrienne <> wrote:
>
>>>>I need to have the
>>>>colors of the links change in different sections of the site. Can
>>>>this be done.
>>>
>>> It's a very effective method to confuse your visitors to no end,
>>> don't.

>>
>>Not necessarily. If you have a menu with links of one color, you might
>>want the content links to be another color.

>
> As I read it the OP wants to define different links colours for
> different pages of the same site.
>


Now that it's morning here... you're right, although you might have
different sections of a site different colors, depending on their
purpose, maybe something to do with seasons, where spring has pastel
colors, and fall has fall colors.

I'm doing something a little similar server side, if the current date is a
holiday, a appropriate stylesheet is loaded. I have a main stylesheet
which defines positioning and another only for colors, so Dec 25 gets
xmas.css and Feb 14 gets valentines.css.

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
 
Reply With Quote
 
Spartanicus
Guest
Posts: n/a
 
      07-21-2005
Adrienne <> wrote:

>> As I read it the OP wants to define different links colours for
>> different pages of the same site.

>
>Now that it's morning here... you're right, although you might have
>different sections of a site different colors, depending on their
>purpose, maybe something to do with seasons, where spring has pastel
>colors, and fall has fall colors.


A basic usability principle is that a site should have a consistent look
including the colour scheme. Using different link colours and/or text
decoration is particularly risky because it will prevent people from
recognizing the links as links.

--
Spartanicus
 
Reply With Quote
 
Brian
Guest
Posts: n/a
 
      07-21-2005
Thats what I would like to do. How can I make the menu colors one color and
the text links another
"Adrienne" <> wrote in message
news:Xns969A13A24DF28arbpenyahoocom@207.115.63.158 ...
> Gazing into my crystal ball I observed Spartanicus
> <> writing in
> news: anicus.utvinternet.ie:
>
> > "Brian" <> wrote:
> >
> >>I need to have the
> >>colors of the links change in different sections of the site. Can this
> >>be done.

> >
> > It's a very effective method to confuse your visitors to no end, don't.
> >

>
> Not necessarily. If you have a menu with links of one color, you might
> want the content links to be another color. If the menu background color
> is blue, and the content background color is white, you would not want
> the menu color to be blue, but you would probably want the content color
> to be blue.
>
> --
> Adrienne Boswell
> http://www.cavalcade-of-coding.info
> Please respond to the group so others can share



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there any library that can convert RGB colors to ANSI colors? ZelluX Python 3 12-01-2008 11:08 AM
TreeNode colors come from anchor colors AAaron123 ASP .Net 1 08-07-2008 07:56 PM
Extension to change link colors? Karl S Firefox 2 12-10-2005 03:53 AM
RE: Link Link Link =?Utf-8?B?REw=?= Windows 64bit 0 05-17-2005 12:15 PM
Re: Link Link Link DANGER WILL ROBINSON!!! Kevin Spencer ASP .Net 0 05-17-2005 10:41 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57