Julian Hofmann: Tabelle mit nix.gif in HTML 4.01 Transitional

Beitrag lesen

Hallo Thomas,

also mal sämtliche Einstellungen dazu:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml1-strict.dtd">
...
      <table border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td class="navi"><img src="images/line.gif" width="140" height="1" alt="" /></td>
        </tr>
       </table>

table {
 border : none;
 border-spacing : 0px;
 border-style : none;
 border-collapse : collapse;
}
tr {
 font-family : Arial, Helvetica, sans-serif;
 font-size : 12px;
}
td {
 padding : 0px;
 background-color : #FFFFFF;
 color : #000000;
 border : none;
}
td.navi {
 background-color : #C9DA96;
    color : #000000;
 font-size : 1px;
 width : 140px;
 height : 1px;
}

Mal andersrum gefragt: Auf welchem Mozilla wird's denn bei Dir korrekt dargestellt? Immerhin sind wir ja zwei gegen einen... ;-)

Grüße aus Würzburg
Julian