Jump to content


Photo

a:active


  • Please log in to reply
8 replies to this topic

#1 Hellusius

Hellusius
  • Members
  • PipPipPip
  • Advanced Member
  • 55 posts

Posted 26 July 2006 - 10:07 AM

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

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  }

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

#2 just-j

just-j
  • Members
  • PipPipPip
  • Advanced Member
  • 52 posts

Posted 26 July 2006 - 11:32 AM

try this
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;  }


#3 just-j

just-j
  • Members
  • PipPipPip
  • Advanced Member
  • 52 posts

Posted 26 July 2006 - 11:36 AM

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!!

#4 moberemk

moberemk
  • Members
  • PipPipPip
  • Advanced Member
  • 695 posts

Posted 26 July 2006 - 12:06 PM

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.
Disclaimer: No matter how harsh I may be, I'm always IMO only.

#5 Hellusius

Hellusius
  • Members
  • PipPipPip
  • Advanced Member
  • 55 posts

Posted 26 July 2006 - 01:49 PM

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

#6 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 26 July 2006 - 02:00 PM

Also, I think that I remember reading something about a specific order for that... but I don't quite remember it.


LoVe HAte - link, visited, hover, active
Legend has it that reading the manual never killed anyone.
My site

#7 Hellusius

Hellusius
  • Members
  • PipPipPip
  • Advanced Member
  • 55 posts

Posted 26 July 2006 - 02:12 PM

so any suggestions on what could cause this?

#8 nogray

nogray
  • Members
  • PipPipPip
  • Advanced Member
  • 930 posts
  • LocationSan Francisco CA

Posted 26 July 2006 - 04:35 PM

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.

NoGray.com


#9 Hellusius

Hellusius
  • Members
  • PipPipPip
  • Advanced Member
  • 55 posts

Posted 26 July 2006 - 05:01 PM

this is where I redirect
<html>
<head>
<title>WarcraftIII test site</title>
<link href="Stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<meta>
<body>
--Codes--

and the CSS file looks like this

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 }

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)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users