change links color

This is a discussion on "change links color" within the Web Page Design section. This forum, and the thread "change links color are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Dec 30th, 2003, 20:08
Junior Member
Join Date: Dec 2003
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
change links color

i have changed all of my links to one color, with this code:
a:link {color: #cc99cc}
a:visited {color: #cc99cc}
a:hover {color: #cc00cc}
a:active {color: #ff00ff}

and i want to know if i can change other links on the same page to a darker one. and how do i do that?

  #2 (permalink)  
Old Dec 31st, 2003, 01:06
Junior Member
Join Date: Dec 2003
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
also, why won't it work in netscape? my site looks so dull in netscape
  #3 (permalink)  
Old Jan 2nd, 2004, 13:01
Reputable Member
Join Date: Aug 2003
Location: Singapore
Posts: 321
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to gwx03
It should be ok. It does look ok in Opera and IE, so chances are that it would work the same in Netscape... That is standard CSS so there is absolutely no reason why it would not work ( a:link, a:visited a:hover and also a:hover ). They are the completely supported by all CSS-compliant browsers, including Netscape, of course.
  #4 (permalink)  
Old Jan 2nd, 2004, 13:46
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
a.somelink:link {color: #cc99cc}
a.somelink:visited {color: #cc99cc}
a.somelink:hover {color: #cc00cc}
a.somelink:active {color: #ff00ff}

a href=# class=somelink
  #5 (permalink)  
Old Jan 2nd, 2004, 16:40
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,952
Blog Entries: 7
Thanks: 7
Thanked 4 Times in 4 Posts
Send a message via MSN to Rob Send a message via Skype™ to Rob
you forgot this this one:-
Code: Select all
a.somelink:focus {color: #ff00ff}
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
  #6 (permalink)  
Old Jan 3rd, 2004, 21:34
Junior Member
Join Date: Dec 2003
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
oh thank you. i tought it had something to do with a class, but i wasn't sure where to put it. thanks
  #7 (permalink)  
Old Jan 3rd, 2004, 22:25
Junior Member
Join Date: Dec 2003
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
i tried a href="#somelink" and it didn't work..
  #8 (permalink)  
Old Jan 3rd, 2004, 22:27
Junior Member
Join Date: Dec 2003
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
i mean a href="tacklebox.htm" class="#somelink" and it did't work
  #9 (permalink)  
Old Jan 3rd, 2004, 22:35
Reputable Member
Join Date: Aug 2003
Location: United Kingdom
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
dont need the # in class="#somelink"
  #10 (permalink)  
Old Jan 3rd, 2004, 23:05
Junior Member
Join Date: Dec 2003
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
oh ok thanks
  #11 (permalink)  
Old Jan 3rd, 2004, 23:40
Junior Member
Join Date: Dec 2003
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
i did that, and it changed all of my links to that color. i only specified 1 link!
  #12 (permalink)  
Old Jan 4th, 2004, 10:47
Reputable Member
Join Date: Aug 2003
Location: United Kingdom
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
can we see? is this page live?
  #13 (permalink)  
Old Jan 4th, 2004, 20:19
Junior Member
Join Date: Dec 2003
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
yes, kelvijenstore
  #14 (permalink)  
Old Jan 4th, 2004, 20:20
Junior Member
Join Date: Dec 2003
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
here it is http://www.kelvijenstore.com
  #15 (permalink)  
Old Jan 4th, 2004, 20:24
Junior Member
Join Date: Dec 2003
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
it just worked and i don't know what i did differently. whew
  #16 (permalink)  
Old Jan 4th, 2004, 20:31
Reputable Member
Join Date: Aug 2003
Location: United Kingdom
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
Probably the effects of browser caching. Make sure you disbale any caching on any browser you are using to develop with.
  #17 (permalink)  
Old Jan 4th, 2004, 20:33
Junior Member
Join Date: Dec 2003
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
what does that mean. caching?
  #18 (permalink)  
Old Jan 4th, 2004, 20:38
Reputable Member
Join Date: Aug 2003
Location: United Kingdom
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
It means the browser stores the old data, instead of going back to the server to get the very latest updated page, hence recent changes to the page don't appear.
  #19 (permalink)  
Old Jan 4th, 2004, 20:52
Junior Member
Join Date: Dec 2003
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
oh ok thanks for the help
Closed Thread

Tags
change, links, color

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 On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Color for hovering links skitson Web Page Design 2 Feb 3rd, 2008 06:29
[SOLVED] Links not the right color motormaniac Web Page Design 5 Dec 9th, 2007 09:25
[SOLVED] Change Input Textbox Background Color tejaxx JavaScript Forum 4 Nov 19th, 2007 20:16
A way to change background color of a menu list gohankid77 Web Page Design 1 Oct 12th, 2004 10:14
Anybody know how to change the color of a text input form in Physt Web Page Design 7 Aug 16th, 2004 08:44


All times are GMT. The time now is 21:28.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

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