By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,848 Members | 3,203 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,848 IT Pros & Developers. It's quick & easy.

Bold a <td>

100+
P: 158
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
Share this Question
Share on Google+
5 Replies


rnd me
Expert 100+
P: 427
Expand|Select|Wrap|Line Numbers
  1. <style>
  2.    table td { font-weight: bold; }
  3. </style>
Sep 27 '08 #2

Markus
Expert 5K+
P: 6,050
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
Expert Mod 15k+
P: 16,027
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
Expert 5K+
P: 6,050
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

100+
P: 158
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.