Hi,

This line is not validated in HTML validator. How can solve this problem. onMouseOver and onMouseOut

Thanks

<td onMouseOver="this.style.backgroundColor='#AEBCFF'" onMouseOut="this.style.backgroundColor='#FFFFFF'">sdsdsad</td>

in your css file or between the <style></style> tags in the header if using inline styles

td:hover {background:#aebcff;}
td {background:#ffffff;}

and your html is just

<td>sdsdsad</td>

& javascript may be disabled in the client browser
individual javascripts in elements are unneccessary

Hi,
This doesn't work in IE. How can i make it work in all browsers?
Thanks

<html>
<head>
<style>
td:hover {
	background-color:#aebcff;
}td {
	background-color:#ffffff;
}
</style>
</head>

<body>
<table width="200" border="1">
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.