ti ho ottimizzato completamente il codice e trasferito da HTML4 a XHTML 1.0
prova questo codice:
codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it" lang="it">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<title>Prova</title>
<style type="text/css">
body , html{ height:100%; margin:0px; }
body { font:12px Verdana, Arial, Helvetica, sans-serif; background: #999; color:#930; }
div , p{ margin:5px; } h4 { text-align: center; }
#layermenu { border-right: 1px solid #993300; border-left: 1px solid #993300; height: 80%; width: 20%; float:left; }
#layerimagemenu{ border-right: 1px solid #FFFF00; border-left: 1px solid #FFFF00; height: 80%; width: 20%; float:left; }
#layertest{ border-right: 1px solid #0000FF; border-left: 1px solid #0000FF; height: 80%; width: 20%; float:left; }
#layertest2{ border-right: 1px solid #FF00FF; border-left: 1px solid #FF00FF; height: 80%; width: 10%; float:left; }
a { display:block; font: bold 12px Verdana, Arial, Helvetica ; color:#444; }
a:visited { text-decoration: none; color: #930; }
a:hover { color: #999; background : #930; }
</style>
</head>
<body>
<div id="layermenu">
intro
home
download
past_works
in_progress
links
partners
credits
contact
</p>
</div>
<div id="layerimagemenu">[img]images/intestazione2003.gif[/img]</div>
<div id="layertest"><h4>layertest</h4></div>
<div id="layertest2"><h4>layertest2</h4></div>
</body>
</html>
studiatelo :adhone: