Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
|
|
Link Light Up |
Page: 1 2 3 | Reply |
Jul 2nd 2002 | #56219 Report |
Member since: Dec 24th 2001 Posts: 222 |
Ok so i was working on my site and realized that i didnt know how to get links to change color on mouse over, can someone please tell me how to do that? Also i really dont understand javascript so if it is involved, cause im not really sure if it is or not, please explain it to the best of your ability thankyou
|
Reply with Quote Reply |
Jul 2nd 2002 | #56224 Report |
Member since: Apr 20th 2002 Posts: 3000 |
it's stylesheets: <style> a:hover {color: #ff0000;font-family: verdana;} a:link {color: #000000;font-family: verdana;} a:visited {color: #00ff99;font-family: verdana;} a:active {color: #00aa22;font-family: verdana;} </style> just play around with the Hex values until you get the color you want. |
Reply with Quote Reply |
Jul 2nd 2002 | #56225 Report |
Member since: Dec 24th 2001 Posts: 222 |
ive tried that before but for some reason it doesnt work i guess i will try it again... also i have most of my links in a css style already how do i apply that style to stuff already in a css style?
|
Reply with Quote Reply |
Jul 2nd 2002 | #56230 Report |
Member since: Apr 20th 2002 Posts: 3000 |
Given: style is called "STYLE" Then: a:STYLE:hover {values} should do the trick. |
Reply with Quote Reply |
Jul 2nd 2002 | #56231 Report |
Member since: Dec 24th 2001 Posts: 222 |
also how do i reference the style when is has no assigned name?
|
Reply with Quote Reply |
Jul 2nd 2002 | #56232 Report |
Member since: Apr 20th 2002 Posts: 3000 |
woah woah woah, you just lost me there :eek: how could you make a style without first specifying the name for it?
|
Reply with Quote Reply |
Jul 2nd 2002 | #56233 Report |
Member since: Dec 24th 2001 Posts: 222 |
im sorry !mo0chan! could you explain that a little more
|
Reply with Quote Reply |
Jul 2nd 2002 | #56234 Report |
Member since: Jul 15th 2001 Posts: 2019 |
u need to put that head
|
Reply with Quote Reply |
Jul 2nd 2002 | #56236 Report |
Member since: Apr 20th 2002 Posts: 3000 |
say your style sheet resembles: <style> .style {color: #00aa22;font-family: verdana;} </style> you mentioned that you already had styles set already and you wanted to add the mouseover color-change effect on the text correct? say, if you had something like <td class="STYLE"> <a href="url.html">TEXT</a> </td> and you wish to apply the mouseover effect on TEXT only you would add the name of the style (STYLE) into the a:hover tag. such as: <style> .style {color: #00aa22;font-family: verdana;} a:style:hover {color: #ff0000;font-family: verdana;} </style> This way, only the text affected by the STYLE class would have the mouseover effect, while all the other text would not. |
Reply with Quote Reply |
Jul 2nd 2002 | #56237 Report |
Member since: Dec 24th 2001 Posts: 222 |
oh well what i did mo was i put that style you gave me in the head but i figured it out i put a.myname:hover to do it so im fine now i just need to know how to get the text in my current css style to use that style?
|
Reply with Quote Reply |
Page: 1 2 3 | Back to top |
Please login or register above to post in this forum |
© Web Media Network Limited. All rights reserved. No part of this website may be reproduced without written permission. Photoshop is a registered trademark of Adobe Inc.. TeamPhotoshop.com is not associated in any way with Adobe, nor is an offical Photoshop website. |