Roland Aust: Horizontaler Scrollbalken MSIE 6 bei XHTML Doctype

Beitrag lesen

Hallo.

Falls jemand das Problem wirklich interessiert, so sollte er sich bitte ein beliebiges Frameset basteln und im Content-Frame folgenden Inhalt reinpasten:

<!--Schnippel -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<style type="text/css">
body {
 margin-top:   0px;
 margin-bottom:0px;
 margin-left:  0px;
 margin-width: 0px;
 margin-right: 0px;
 margin:       0px;
}
</style>

</head>

<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" bgcolor="#ffffff" alink="#000000">

<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#999999">
 <tr>
  <td>Testtabelle</td>
 </tr>
</table>

<img src="dummy.gif" height="1000" width="100" />

</body>
</html>
<!--Schnippel -->

Ohne Frameset wird er eine normale Seite mit einen vertikalen Scrollbalken sehen. Mit Frameset dagegen wird man zusätzlich einen horizontalen Scrollbalken bekommen. Nur beim MSIE 6 versteht sich...
Nur durch das entfernen der 100%-Tabelle oder des XHTML-Doctypes wird man diesen wieder los. Was natürlich beides keine wirklich befriedigende Lösung ist.

Gruss, Roland