not working: onmouseover="this.style.font-weight='bold';"

  • Thread starter Thread starter Steve Richter
  • Start date Start date
S

Steve Richter

Why would this embedded javascript not work?
<span onmouseover="this.style.font-weight='bold';" >line 3</span>

this does:
<span onmouseover="this.style.color='blue';" >line 1</span>

thanks,
 
Back
Top