onmouseover for element li doesn't work

Posted by Syom on Stack Overflow See other posts from Stack Overflow or by Syom
Published on 2010-03-28T10:32:02Z Indexed on 2010/03/28 10:33 UTC
Read the original article Hit count: 338

Filed under:

i have the following simple code, but it doesn,t work

<ul>
  <li id="one" onmouseover="this.style.background-color='white';">
    <a href="#">home</a>
  </li>
</ul>

could you tell me why. thanks

© Stack Overflow or respective owner

Related posts about html