Hallo,
Du könntest das ganze Exel-Dokument über ein iframe einbinden und dieses mittig positionieren mit CSS.
Ja, aber versuche mal ein IFRAME-Element per CSS mit margin:auto zu formatieren. Da spinnen alle Browser irgendwie. Deshalb muss man hier um den IFRAME ein DIV-Element legen, welches man dann per CSS formatieren kann:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Excel-Workbook zentriert</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<style type="text/css">
#ExcelWorkbook {
background-color:red;
width:600px;
height:480px;
margin:auto;
}
#ExcelWorkbook iframe {
width:100%;
height:100%;
}
</style>
</head>
<body>
<h1>Excel-Workbook zentriert:</h1>
<div id="ExcelWorkbook">
<iframe src="plaene.htm"></iframe>
</div>
</body>
</html>
viele Grüße
Axel