Manuel: 100%

Hallo!!

Kann mir jemand sagen, warum bei der Seite

http://www.rottler.de/test/leistungen.htm

bei einer Auflösung von 800x600 ein horizontaler Scrollbalken erscheint?
Die Tabell ist doch auf 100% gesetzt!?!

Ich hoffe jemand kann mir helfen!
Danke und Gruß Manuel

  1. Hi Manuel!

    Die Tabell ist doch auf 100% gesetzt!?!

    Erst gucken wir uns den Quellcode an...
    ...aha, td's mit folgenden Breiten:
    213
    50
    692

    Dann holen wir unseren Taschenrechner raus (fuer die, die's nicht im Kopf koennen :-) )...
    213+50+692 = 955, was auf jeden Fall groesser ist, als 800 Pixel!

    MfG Simon

  2. Hi,

    ich weiß auch nicht, welcher Teufel mich geritten hat, die Tabellen waren ein Haufen Schrott, aber hier ist dein korrigiertes Tabellengerippe ohne width-Angaben in den td-Tags, mit border="1", brauchst nur noch deine Inhalte einfüllen und die borders wieder 'rausnehmen:

    <!-- Alleinstehende Tabelle mit 1 Spalte Anfang-->
    <table width="100%" border="1" cellspacing="0" cellpadding="0">
    <tr>
    <td> </td>
    </tr>
    </table>
    <!-- Alleinstehende Tabelle mit 1 Spalte Ende-->

    <!-- Haupttabelle Anfang -->
    <table width="100%" border="1" cellspacing="0" cellpadding="0" height="95%">
    <tr>
    <td align="center" valign="top">

    <!-- 1. Verschachtelte Tabelle Anfang -->
    <table border="1" cellpadding="0" cellspacing="0" width="213" height="38">
    <tr>
    <td rowspan="1" colspan="3" height="40"> </td>
    </tr>
    <tr>
    <td rowspan="1" colspan="3" height="40"> </td>
    </tr>
    <tr>
    <td rowspan="1" colspan="3" height="40"> </td>
    </tr>
    <tr>
    <td rowspan="1" colspan="3" height="40"> </td>
    </tr>
    <tr>
    <td rowspan="1" colspan="3" height="40"> </td>
    </tr>
    <tr>
    <td rowspan="1" colspan="3" height="2"> </td>
    </tr>
    <tr>
    <td rowspan="1" height="119" valign="top"> </td>
    <td rowspan="1" height="119" valign="top"> </td>
    <td rowspan="1" height="119" valign="top"> </td>
    </tr>
    <tr>
    <td rowspan="1" colspan="3" height="24"> </td>
    </tr>
    <td valign="top" nowrap> </td>
    <td valign="top" nowrap align="left">

    <!-- 2. Verschachtelte Tabelle Anfang -->
    <table width="73%" border="1" vspace="0" hspace="0" align="left" cellpadding="0" cellspacing="0">
    <tr nowrap>
    <td colspan="2"> </td>
    </tr>
    <tr nowrap valign="top">
    <td height="286" colspan="2"> </td>
    </tr>
    <tr nowrap>
    <td> </td>
    <td valign="middle" align="right"> </td>
    </tr>
    <tr nowrap>
    <td> </td>
    <td valign="middle" align="right"> </td>
    </tr>
    <tr nowrap>
    <td colspan="2"> </td>
    </tr>
    <tr nowrap>
    <td> </td>
    <td align="right" valign="middle"> </td>
    </tr>
    <tr nowrap>
    <td colspan="2"> </td>
    </tr>
    </table>
    <!-- 2. Verschachtelte Tabelle Ende -->
    </td>
    <td> </td>
    </tr>
    </table>
    <!-- 1. Verschachtelte Tabelle Ende -->

    </td>
    </tr>
    </table>
    <!-- Haupttabelle Ende  -->

    Ausserdem solltest du dir angewöhnen, entweder absolute oder prozentuale width- und height-Angaben zu machen, ansonsten kommt der Netscape in Schwulitäten ;-)

    Viele Grüße,

    Kirsten