Apr 9, 2005 #1 zndow Technical User Apr 5, 2005 16 CA I am totaly new on rollover things. Here what i want to do. Let say i have this: <tr> <td><font color="#cccccc">Click the logo to update</font></td> </tr> What would be the code to make that simple text change to orange color when a mouse rollover.
I am totaly new on rollover things. Here what i want to do. Let say i have this: <tr> <td><font color="#cccccc">Click the logo to update</font></td> </tr> What would be the code to make that simple text change to orange color when a mouse rollover.
Apr 9, 2005 #2 manarth Programmer Jul 2, 1999 1,705 GB first of all, drop the <font> tag: it's officially redundant. Use CSS to style your elements. I imagine it'd be a link, seeing as it's changing when you mouseover - in which case some simple CSS will do the trick. Code: a { color: #cccccc; } a:hover { color: #ffcc33; } The :hover pseudoclass only works on <a> tags in IE. It works on almost all elements in standards browsers such as Moz. To gen up on CSS, in addition to Googling, take a look through Eric Meyer's sites (meyerweb and complex spiral), as well as the CSS Zen Garden. <marc> Upvote 0 Downvote
first of all, drop the <font> tag: it's officially redundant. Use CSS to style your elements. I imagine it'd be a link, seeing as it's changing when you mouseover - in which case some simple CSS will do the trick. Code: a { color: #cccccc; } a:hover { color: #ffcc33; } The :hover pseudoclass only works on <a> tags in IE. It works on almost all elements in standards browsers such as Moz. To gen up on CSS, in addition to Googling, take a look through Eric Meyer's sites (meyerweb and complex spiral), as well as the CSS Zen Garden. <marc>
Apr 9, 2005 Thread starter #3 zndow Technical User Apr 5, 2005 16 CA Would you write the hole code. I dont know what to do with this css you writed. <a> Put here how i have to proceed for the example i gave. </a> Upvote 0 Downvote
Would you write the hole code. I dont know what to do with this css you writed. <a> Put here how i have to proceed for the example i gave. </a>
Apr 9, 2005 1 #4 ChrisHirst IS-IT--Management Nov 23, 2001 8,049 GB I would suggest that you start here then Chris. Indifference will be the downfall of mankind, but who cares? Woo Hoo! the cobblers kids get new shoes. Nightclub counting systems So long, and thanks for all the fish. Upvote 0 Downvote
I would suggest that you start here then Chris. Indifference will be the downfall of mankind, but who cares? Woo Hoo! the cobblers kids get new shoes. Nightclub counting systems So long, and thanks for all the fish.