<div id="subMenu"></div>
Así tengo div, acá les mando todo el código...
Código:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/javascript">
function whiteLayer(layerID,txt){
if(document.getElementById){
alert('hola');
document.getElementById(layerID).style.top="200px";
document.getElementById(layerID).style.left="200px";
document.getElementById(layerID).innerHTML=txt;
}else if(document.all){
document.all[layerID].innerHTML=txt;
}else if(document.layers){
with(document.layers[layerID].document){
open();
write(txt);
close();
}
}
}
function Show_subMenu(name,txt){
retardo = setTimeout("alert(5)",1000)
whiteLayer(name,retardo);
}
function Hide_subMenu(name,txt){
whiteLayer(name,txt);
}
</script>
</head>
<body>
<table width="22%" border="0">
<tr>
<td onMouseOver="Show_subMenu('subMenu','Say no more<br>charly garcia<br>clarete !!!!')" onmouseout="Hide_subMenu('subMenu','')">cacacaca</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<p> </p>
<div id="subMenu"></div>
</body>
</html>
A ver si a ustedes les funciona
Saludos