codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento senza titolo</title>
<style type="text/css">
<!--
#div1 {
float: left;
height: 400px;
width: 400px;
border: solid #000 3px;
}
#div2 {
margin-left: 450px;
height: 400px;
width: 400px;
border: 3px solid #000;
}
body,td,th {
color: #000;
}
body {
background-color: #FFF;
margin: 50px;
padding: 0;
}
-->
</style>
</head>
<body>
<div id="div1">Apri pagina nel div2</div>
<div id="div2"><iframe src="#" name="destinazione" width="400" marginwidth="0" height="400" align="top" scrolling="auto" hspace="0" vspace="0" id="iframe" title="contenuti" allowtransparency="true">Inserire qui il contenuto per id "div2"</iframe></div>
</body>
</html>