ich hab es bisher so
Code:
1
2
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
34
35
<html>
<head>
<style type="text/css">
@page { size:21.0cm 29.7cm;
margin-top:1.7cm;
margin-bottom:1.4cm;
margin-left:2cm;
margin-right:2cm
}
</style>
<title>start</title>
</head>
<body>
<form>
<center><input type="button" value="Stunden Plan drucken" onClick="myprint()"></center>
</form>
<script language="Javascript">
function myprint()
{
if (window.print)
{
parent.haupt.focus();
parent.haupt.print();
}
return;
}
</script>
</body>
</html>
aber im IE geht der Button gar nicht nur im Firefox!?