links onmouseover & onmouseout

a {text-decoration: none; onmouseover: "this.style.color='#ff0000'"; onmouseout: "this.style.color='#990033'"}

i know only a little about css but im sure this aint working and when i put onmousever... etc in an <a> tag it works

help <3
Comments
9
abracad...
A:link { COLOR: #CECBB9; TEXT-DECORATION: none; }
A:visited { COLOR: #dddddd; TEXT-DECORATION: none; }
A:hover { COLOR: #CECBB9; TEXT-DECORATION: underline; }
A:active { COLOR: #CECBB9; TEXT-DECORATION: underline; }
not working :(

lol
Parent
it's capitalized, maybe you should use <A>.

otherwise you should take a look in http://www.crossfire.nu/css/xf3.css
Parent
erm

nvm, soz =d
Parent
It should work...

a:link { color: #990033; text-decoration: none; }
a:visited { color: #990033; text-decoration: none; }
a:hover { color: #ff0000; text-decoration: none; }
a:active { color: #990033; text-decoration: none; }

Is the correct answer to your question.
Parent
rofl.. javascript event listeners within css declarations. you are teh funny.

Fr3aK's works

a:link { color: #990033; text-decoration: none; }
a:visited { color: #990033; text-decoration: none; }
a:hover { color: #ff0000; text-decoration: none; }
a:active { color: #990033; text-decoration: none; }
this is freaking bad.... LOL
Back to top