Jump to content

Archived

This topic is now archived and is closed to further replies.

Hellusius

a:active

Recommended Posts

The a:active I used doesn't seem to have effect on the firefox browser I use.
Here is the CSS/stylesheet part I made for it

[code]a:link { color: #1099FF; background-color: transparent }
a:visited { color: #2277EE; background-color: transparent }
a:hover { color: #FF2200 ; background-color: transparent }
a:active { color: #22FF00 ; background-color: transparent  }[/code]

suggestions, or is there anything special I need to do, to have it work on all webbrowsers?

Share this post


Link to post
Share on other sites
try this
[code]
a:link { color: #1099FF; background-color: transparent; }
a:visited { color: #2277EE; background-color: transparent; }
a:hover { color: #FF2200 ; background-color: transparent; }
a:active { color: #22FF00 ; background-color: transparent;  }
[/code]

Share this post


Link to post
Share on other sites
nevermind...  i just tried it and dosent help in FF  in IE with or without the ; works fine  i would like to know the answer to this one too!!

Share this post


Link to post
Share on other sites
What's with the space between the colour value and the closing semicolon. Also, I think that I remember reading something about a specific order for that... but I don't quite remember it.

Share this post


Link to post
Share on other sites
oddd, in the rest of the website it works, but just not the header part in which I directed towards to the stylesheet.

very odd

Share this post


Link to post
Share on other sites
[quote author=moberemk link=topic=101900.msg403784#msg403784 date=1153915560]Also, I think that I remember reading something about a specific order for that... but I don't quite remember it.
[/quote]

[b]L[/b]o[b]V[/b]e [b]HA[/b]te - link, visited, hover, active

Share this post


Link to post
Share on other sites
I tried the code you posted on top, and it seems to work in IE, FF, and Opera. Not sure why you having a problem.

Share this post


Link to post
Share on other sites
this is where I redirect
[code]
<html>
<head>
<title>WarcraftIII test site</title>
<link href="Stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<meta>
<body>
--Codes--[/code]

and the CSS file looks like this

[code]body
{
font family: arial;
background-color:#1111DD;
color:#000000;
}


a:link { color: #1099FF; background-color: transparent }
a:visited { color: #2277EE; background-color: transparent }
a:hover { color: #FF2200; background-color: transparent }
a:active { color: green }

#NewsTitle { color:#222266 }
#NewsText  { color:#DDAA55 }[/code]

Its just odd, cause it works on the rest of the page but not in the header.php (the file in where the redirect is located)

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.