Computer Webmaster Gaming Console Graphics Forum

Welcome to the Computer Webmaster Gaming Console Graphics Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

MK PitStop Main Earn $25 Earn Money Posting Extras Members Blogs Image Hosting User Pages
Go Back   Computer Webmaster Gaming Console Graphics Forum > Webmaster Forum > Website Coding > HTML
Register FAQ/Rules Become A V.I.P. Member Search Today's Posts Mark Forums Read

HTML HTML problems, maybe you are trying to code for MySpace. Get all the HTML coding help here for your website.

Google
Closed Thread
 
LinkBack Thread Tools Display Modes
Old 07-01-2007, 2:04 PM   #1
Kathleen Coyne
 
Kathleen Coyne's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS link color problem

For some reason, I just can't change the font color for hover. It
allows me to change the background color, no problem. But, if the
link is visited, it will not change the font color, if the link is
unvisited, then it will change the font color on hover.

Here is my CSS

#content a:link {
color: #CACBCA;
font-weight: bold;
}

#content a:hover {
background-color: #ffffff;
color: #048004;
font-weight: bold;
}

#content a:visited {
color: #CACBCA;
font-weight: bold;
}

any ideas?
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Advertisements
Old 07-01-2007, 2:04 PM   #2
PeterMcC
 
PeterMcC's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS link color problem

Kathleen Coyne wrote:
> For some reason, I just can't change the font color for hover. It
> allows me to change the background color, no problem. But, if the
> link is visited, it will not change the font color, if the link is
> unvisited, then it will change the font color on hover.


It's the cascade that's doing it - define them in the order
link
visited
hover
active

Currently, your visited definition comes after the hover so a visited link
that gets hovered has to decide on whether it will display as visited or
hovered - the latter definition takes precedence so you get a visited
appearance.

--
PeterMcC
If you feel that any of the above is incorrect,
inappropriate or offensive in any way,
please ignore it and accept my apologies.

 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 2:04 PM   #3
Steve Pugh
 
Steve Pugh's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS link color problem

kathleencoyne781@aol.com (Kathleen Coyne) wrote:

>For some reason, I just can't change the font color for hover. It
>allows me to change the background color, no problem. But, if the
>link is visited, it will not change the font color, if the link is
>unvisited, then it will change the font color on hover.
>
>Here is my CSS
>
>#content a:link {
> color: #CACBCA;
> font-weight: bold;
> }
>
>#content a:hover {
> background-color: #ffffff;
> color: #048004;
> font-weight: bold;
> }
>
>#content a:visited {
> color: #CACBCA;
> font-weight: bold;
> }


If a link is visited and being hovered then which rule is applied? The
one specified last in the CSS. Swap the two rules around and hover
will apply to visited as well as unvisited links.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <steve@pugh.net> <http://steve.pugh.net/>
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 2:05 PM   #4
Mike
 
Mike's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS link color problem

<style>

<!--
A:link { color: #808080; text-decoration: none}
A:active { color: #808080; text-decoration: none}
A:visited { color: #808080; text-decoration: none}
A:hover { color: #FF0000; text-decoration: none}

-->
</style>

-Mike

"Kathleen Coyne" <kathleencoyne781@aol.com> wrote in message
news:a5423969.0307030459.2061a183@posting.google.c om...
> For some reason, I just can't change the font color for hover. It
> allows me to change the background color, no problem. But, if the
> link is visited, it will not change the font color, if the link is
> unvisited, then it will change the font color on hover.
>
> Here is my CSS
>
> #content a:link {
> color: #CACBCA;
> font-weight: bold;
> }
>
> #content a:hover {
> background-color: #ffffff;
> color: #048004;
> font-weight: bold;
> }
>
> #content a:visited {
> color: #CACBCA;
> font-weight: bold;
> }
>
> any ideas?



 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 2:05 PM   #5
T.J.
 
T.J.'s Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS link color problem


"Kathleen Coyne" <kathleencoyne781@aol.com> wrote in message
news:a5423969.0307030459.2061a183@posting.google.c om...
> For some reason, I just can't change the font color for hover. It
> allows me to change the background color, no problem. But, if the
> link is visited, it will not change the font color, if the link is
> unvisited, then it will change the font color on hover.
>
> Here is my CSS
>
> #content a:link {
> color: #CACBCA;
> font-weight: bold;
> }
>
> #content a:hover {
> background-color: #ffffff;
> color: #048004;
> font-weight: bold;
> }
>
> #content a:visited {
> color: #CACBCA;
> font-weight: bold;
> }
>
> any ideas?


Remember,

Luther
Vandross
Has
Acne


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 2:06 PM   #6
P@tty Ayers
 
P@tty Ayers's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS link color problem

> Remember,
>
> Luther
> Vandross
> Has
> Acne



LoVe - HA! :-)


--
P@tty Ayers
http://www.WebDevBiz.com
Web Design Contract, Estimate Worksheet
--

 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 2:07 PM   #7
Jacqui or (maybe) Pete
 
Jacqui or (maybe) Pete's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS link color problem

In article <be283t$van$1@news8.svr.pol.co.uk>, no1@home.invalid says...
>
> "Kathleen Coyne" <kathleencoyne781@aol.com> wrote in message
> news:a5423969.0307030459.2061a183@posting.google.c om...
> > For some reason, I just can't change the font color for hover. It

....
> > any ideas?

>
> Remember,
>
> Luther
> Vandross
> Has
> Acne
>

For some reason 'links is over active' sticks in my mind:

_link_s
v_is_ited
h_over_
_active_
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Featured Websites
Free Space
Free Space
Free Space Free Space
Closed Thread
Tags: , , ,




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

vB 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
d-link di-604 problem Console Subjects 2 06-26-2007 2:11 AM
D-Link 704p problem help Guy Beazley Console Subjects 5 06-26-2007 2:02 AM
Widcomm & D-link DBT 120 problem David Raux Bluetooth Software and Hardware 3 06-17-2007 1:46 PM
CS3 base color problem DL Graphics in general 4 06-12-2007 12:28 AM
Odd Tiff color problem Stardog Graphics in general 4 06-11-2007 10:29 PM


Featured Websites




All times are GMT +1. The time now is 6:08 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
Cheap Computers
MK PitStop Copyright 2005 - 2008

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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98