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.
|
|
|
|
|
![]() |
||
change links color
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
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? |
|
|
|
|||
|
also, why won't it work in netscape? my site looks so dull in netscape
|
|
|||
|
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.
|
|
|||
|
a.somelink:link {color: #cc99cc}
a.somelink:visited {color: #cc99cc} a.somelink:hover {color: #cc00cc} a.somelink:active {color: #ff00ff} a href=# class=somelink |
|
||||
|
you forgot this this one:-
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
|||
|
oh thank you. i tought it had something to do with a class, but i wasn't sure where to put it. thanks
|
|
|||
|
i tried a href="#somelink" and it didn't work..
|
|
|||
|
i mean a href="tacklebox.htm" class="#somelink" and it did't work
|
|
|||
|
dont need the # in class="#somelink"
|
|
|||
|
oh ok thanks
|
|
|||
|
i did that, and it changed all of my links to that color. i only specified 1 link!
|
|
|||
|
can we see? is this page live?
|
|
|||
|
yes, kelvijenstore
|
|
|||
|
here it is http://www.kelvijenstore.com
|
|
|||
|
it just worked and i don't know what i did differently. whew
|
|
|||
|
Probably the effects of browser caching. Make sure you disbale any caching on any browser you are using to develop with.
|
|
|||
|
what does that mean. caching?
|
|
|||
|
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.
|
![]() |
| Tags |
| change, links, color |
| Thread Tools | |
|
|
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 |