469,331 Members | 4,501 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,331 developers. It's quick & easy.

Bold a <td>

158 100+
I'm rather new to html/javascript. I'm wanting a my menu which is in a table to bold whenever the user evokes the onmouseover event. how is the easiest way to do this?

Thanks!
Sep 27 '08 #1
5 1899
rnd me
427 Expert 256MB
Expand|Select|Wrap|Line Numbers
  1. <style>
  2.    table td { font-weight: bold; }
  3. </style>
Sep 27 '08 #2
Markus
6,050 Expert 4TB
Expand|Select|Wrap|Line Numbers
  1. <style>
  2.    table td { font-weight: bold; }
  3. </style>
And with a hover effect

Expand|Select|Wrap|Line Numbers
  1. <style>
  2.    table td:hover { font-weight: bold; }
  3. </style>
Sep 27 '08 #3
acoder
16,027 Expert Mod 8TB
That won't work in IE6 (in all modes) and IE7 in quirks mode, so you'll need JavaScript for it to work across all browsers.
Sep 27 '08 #4
Markus
6,050 Expert 4TB
That won't work in IE6 (in all modes) and IE7 in quirks mode, so you'll need JavaScript for it to work across all browsers.
Oh really?!

(That was sarcasm, if you didn't get it. :P Silly IE)
Sep 27 '08 #5
Jollywg
158 100+
Thanks for the replies it works now!
Oct 2 '08 #6

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by bissatch | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.