Sunday, December 6, 2009

Can you help me fix this code or create a new one that works (has to do with text hover effects)?

its for myspace. ok so i want the link to turn into the font Times New Roman, change to size 14, not underline and be the color black when hovered. this code i made is not working.



%26lt;style type="text/css"%26gt;



..



A:visited {color:COLOR; text-decoration: none;}



A:link {color:COLOR; text-decoration: none;}



A:active {color: COLOR; text-decoration: underline;}



A:hover {cursor: HAND; color: BLACK; text-decoration: none; font-size:14pt; font-family:Times New Roman}



%26lt;/style%26gt;



Can you help me fix this code or create a new one that works (has to do with text hover effects)?

Not certain about myspace, but this seems to be straightforward CSS2. I see only 1 certain error and 1 possible error:



1) "Times New Roman" should be in quotes, but a more generic effect can be generated by using the term "serif" (quotes unneccessary) rather than a specific font name.



2) "HAND" does not appear in the CSS2 spec for cursor: http://www.w3.org/TR/REC-CSS2/ui.html#pr...

No comments:

Post a Comment

 
web ftp hosting