Computerhilfen.de

Design und Entwicklung => Webmaster Forum & Hilfe => Thema gestartet von: Bully am 01.06.08, 16:11:27

Titel: Tabellen Problem im IE7
Beitrag von: Bully am 01.06.08, 16:11:27
Hallo,
ich hab das Problem das meine Tabelle im Firefox (http://www.computerhilfen.de/download-8451109180319399.html) richtig, im Opera nur etwas nach rechts verschoben dargestellt wird aber im IE völlig "verzerrt"!

html Code für die Tabelle:

 <div id="bg1">                                                                 <!-- Hintergrundbild-Eigenschaften -->
         <table id="table_01" Border="1"align="center">
               <tr>
                  <th><b>Das bin ich:</b></th><th><b>Daten:</b></th>
               </tr>
               <tr>
                  <td><img src="Bilder/Chris.png" alt="Mein Bild" style="width:75%; height:90%; padding:1px"></img></td>
               </tr>
         </table>
        </div>

CSS Datei Auszug:

#table_01 {
      position:relative;
      left:auto;
      right:auto;
      width:500px;
      height:200px;
      margin-left:25px;
      margin-right:20px;
      vertical-align:top;
}

#table_01 tr {
      width:50%;
      height:50%;
}

#table_01 td {
      width:50px;
      height:190px;
      text-align:center;
}

#table_01 th {
      width:50px;
      height:10px;
      text-align:center;
}

Glaube das ich einen Fehler in der CSS Datei habe. Aber wo?

Hoffe mir kann geholfen werden, aber ich denke schon!
Titel: Re: Tabellen Problem im IE7
Beitrag von: prm am 01.06.08, 19:44:14
Verwendest du einen standardkonformen Doctype (http://www.ohne-css.gehts-gar.net/0006.php)?
Titel: Re: Tabellen Problem im IE7
Beitrag von: Bully am 01.06.08, 19:48:34
Mache das mit diesen hier:

<!DOCTYPE html (http://www.computerhilfen.de/fachbegriffe-h-HTML.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"> 

*Edit:
Das Problem ist gelöst, lag an dem Bild und die Größenangaben dazu!