Pues lo dicho, he estado mirando por ahi, y en algunos sitios decian que si que funcionaba, incluso en este foro, pero no se si solo funciona en formularios o en el resto también....
Y si no funciona... pues a ver si existe una alternativa...
Gracias de antemano :)
Código:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>
<script>
function grande()
{
document.getElementById('prova').style.width = 500;
}
function nano()
{
document.getElementById('prova').style.width = 200;
}
</script>
</head>
<body>
<div style="width:300px; height:400px; background-color:#FF0000;" id="prova" name="prova"></div>
<p onmouseover="javascript:grande();">grande</p>
<p onmouseover="javascript:nano();">nano</p>
<!--<iframe src="prova.php" width="700" height="300" align="center" scrolling="no" frameborder="0">-->
</body>
</html>