Imprimer une partie de la page web
	
	
		je n'arrive pas a imprimer une page, le bouton ne marche pas.
	Code:
	
| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 
 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Test</title>
<script language="JavaScript">
function imprime_zone(commande, obj)
{
var temp = document.getElementById(obj).innerHTML;
 
var f = window.open("", "ZoneImpr", "height=500, width=600,
toolbar=0, menubar=0, scrollbars=1, resizable=1,
status=0, location=0, left=10, top=10");
 
f.document.body.style.color = '#000000';
f.document.body.style.backgroundColor = '#FFFFFF';
f.document.body.style.padding = "10px";
 
f.document.title = commande;
f.document.body.innerHTML += "
" + temp + "
";
 
f.window.print();
f.window.close();
return true;
}
</script>
</head>
<body>
<div id='obj'>test</div>
<input type='button' value='Imprimer' onclick=\"imprime_zone('commande', 'obj');\">
</body>
</html> | 
 ou es le probleme?
merci