Tabelle über ganzen Bildschirm mit scrolling=auto
Hermann
- html
Hallo,
ich habe ein Frameset aufgebaut in dem der mittlere Bereich scrollbar ist (auto). Füge ich nun eine Tabelle ein, so hält der IE5 und der NS4.6 automatisch den Platz für die Scrollbalken frei, auch wenn ich diese noch garnicht sehe (Bei width="100%"). Wie kann ich nun eine Tabelle bis ganz an den Rand bekommen? Wenn ich die Grösse der Tabelle direkt angebe, dann habe ich das Problem, dass der NS4.6 die Grösse des Content ja nie so genau einhält (auch nicht beim resizen) und deswegen dann immer der Scrollbalken unten erscheint. Gibt es dafür eine Lösung??
Gruss Hermann
Hallo Hermann,
vielleicht ist es gar nicht der Platz für die Scrollbars, der freigehalten wird, sondern der Seitenrand.
Probier mal folgendes im <head> der Datei aus:
<style type="text/css">
<!--
body { margin:0px; }
-->
</style>
ich hoffe, dass das hilft ...
Stephan
Das hat leider nichts gebracht. Es sieht wirklich so aus, als währe es der Scrollbalken, denn es ist rechts und unten, wo der NS den Platz weiss läßt. Ich füge mal das Script bei.
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body { margin:0px; }
-->
</style>
</head>
<body bgcolor="#FFFFFF">
<div align="center"></div>
<!-- Tabelle Login ---->
<table width="95%" border="0" cellspacing="0" cellpadding="0" height="100%" align="right">
<tr valign="top" bgcolor="#e6f7e8">
<td>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#006600" width="1"><img src="shim.gif" width="1" height="1"></td>
<td class="" bgcolor="#FFFFFF">Login</td>
<td bgcolor="#FFFFFF"> </td>
<td width="620" bgcolor="#FFFFFF"> </td>
</tr>
<tr>
<td height="1" bgcolor="#006600"><img src="shim.gif" width="1" height="1"></td>
<td height="1" bgcolor="#006600"><img src="shim.gif" width="1" height="1"></td>
<td height="1" bgcolor="#006600"><img src="shim.gif" width="1" height="1"></td>
<td height="1" width="402" bgcolor="#006600"><img src="shim.gif" width="1" height="1"></td>
</tr>
</table>
<!-- Tabelle Text ---->
<table width="656" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="31"></td>
<td width="1" bgcolor="#006600"><img src="shim.gif" width="1" height="1"></td>
<td width="282" bgcolor="#009900" height="4"><img src="shim.gif" width="1" height="1"></td>
<td width="333" bgcolor="#009900" height="4"><img src="shim.gif" width="1" height="1"></td>
</tr>
<tr>
<td width="31"> </td>
<td width="1" bgcolor="#006600"><img src="shim.gif" width="1" height="1"></td>
<td colspan="2" rowspan="3" valign="top"><font face="Arial, Helvetica, sans-serif" size="2"> Sie
das Projekt informieren und online anmelden.</font></td>
</tr>
<tr>
<td width="31"> </td>
<td width="1" bgcolor="#006600"><img src="shim.gif" width="1" height="1"></td>
</tr>
<tr>
<td width="31"> </td>
<td width="1" bgcolor="#006600"><img src="shim.gif" width="1" height="1"></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>