tutorials.de Buch-Aktion 05/2012
ERLEDIGT
JA
ANTWORTEN
2
ZUGRIFFE
490
EMPFEHLEN
  • An Twitter übertragen
  • An Facebook übertragen
DIESES THEMA IST
GESCHLOSSEN
  1. #1
    Avatar von Grille
    Grille Grille ist offline Mitglied Gold
    Registriert seit
    Sep 2003
    Ort
    Berlin
    Beiträge
    230
    Hallo ...

    Ich will in einer Tabelle Felder nur mit Text oder nur mit einem Bild füllen. Die Tabelle soll immer eine Zeilenhöhe von 14px haben. im IE wird es richtig gezeigt ... im FF ist unter dem Bild immer eine 3 bis 4 Pixel breite Lücke.

    Wie kann ich FF und IE dazu bringen die Tabelle gleich zu interpretieren? Wie verschwindet die Lücke und warum ist sie da?

    Guß, Grille.

    PHP-Code:
    <table width='625' border='1' cellpadding='0' cellspacing='0'>
     <
    tr>
      <
    td width='14' height='14'><img src="images/template/leer.png" border=0 width='14' height='14'></td>
      <
    td width='14' height='14'><img src="images/template/leer.png" border=0 width='14' height='14'></td>
      <
    td height='14'><class='maintable_tablecontent'>Name oder Bezeichnung</p></td>
      <
    td height='14'><class='maintable_tablecontent'>PLZ</p></td>
      <
    td height='14'><class='maintable_tablecontent'>Ort</p></td>
      <
    td height='14'><class='maintable_tablecontent'>Beschreibung</p></td>
      <
    td width='29' height='14'><class='maintable_tablecontent'>DGS</p></td>
     </
    tr>
     <
    tr>
      <
    td width='14' height='14'><img src="images/template/content/3001/button_details.png" border=0 width='14' height='14'></td>
      <
    td width='14' height='14'><img src="images/template/content/3001/button_angebote.png" border=0 width='14' height='14'></td>
      <
    td height='14' bgcolor=#93c5d8><p class='maintable_tablecontent'>Name oder Bezeichnung</p></td>
      
    <td height='14' bgcolor=#93c5d8><p class='maintable_tablecontent'>PLZ</p></td>
      
    <td height='14' bgcolor=#93c5d8><p class='maintable_tablecontent'>Ort</p></td>
      
    <td height='14' bgcolor=#93c5d8><p class='maintable_tablecontent'>Beschreibung</p></td>
      
    <td width='29' height='14'><img src="images/template/content/angebot/icon_dgs_voll.png" border=0alt="kann DGS" width='29' height='14'></td>
     </
    tr>
    </
    table
    CSS:
    PHP-Code:
    .maintable_tablecontent {
        
    font-familyVerdanaArialHelveticasans-serif;
        
    font-size:7pt;
        
    font-style:normal;
        
    color:#222;
        
    font-weight:normal;
        
    text-decoration:none;
        
    text-align:left;
        
    margin0px 0px 0px 0px;

     

  2. #2
    Maik Tutorials.de Gastzugang
    Hi,

    weise den Grafikelementen "Block-Level-Charakteristika" zu:

    Code :
    1
    
    img { display:block; }
     

  3. #3
    Avatar von Grille
    Grille Grille ist offline Mitglied Gold
    Registriert seit
    Sep 2003
    Ort
    Berlin
    Beiträge
    230
    Vielen Dank .. stimmt
     

Ähnliche Themen

  1. Antworten: 2
    Letzter Beitrag: 27.12.07, 21:09
  2. SWT: Bild in einer Tabelle
    Von drexpaq im Forum Swing, Java2D/3D, SWT, JFace
    Antworten: 0
    Letzter Beitrag: 15.10.07, 21:01
  3. Antworten: 1
    Letzter Beitrag: 15.07.07, 18:33
  4. HG-Bild in einer Tabelle ausrichten
    Von c0heed im Forum HTML & XHTML
    Antworten: 2
    Letzter Beitrag: 27.09.06, 16:42
  5. Internet Explorer macht Rand um Bild in Tabelle
    Von bogomip im Forum HTML & XHTML
    Antworten: 7
    Letzter Beitrag: 25.05.05, 01:13