ERLEDIGT
JA
JA
ANTWORTEN
2
2
ZUGRIFFE
490
490
EMPFEHLEN
-
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.
CSS: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'><p class='maintable_tablecontent'>Name oder Bezeichnung</p></td>
<td height='14'><p class='maintable_tablecontent'>PLZ</p></td>
<td height='14'><p class='maintable_tablecontent'>Ort</p></td>
<td height='14'><p class='maintable_tablecontent'>Beschreibung</p></td>
<td width='29' height='14'><p 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=0; alt="kann DGS" width='29' height='14'></td>
</tr>
</table>
PHP-Code:.maintable_tablecontent {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size:7pt;
font-style:normal;
color:#222;
font-weight:normal;
text-decoration:none;
text-align:left;
margin: 0px 0px 0px 0px;
}
-
20.12.07 18:18 #2Maik Tutorials.de Gastzugang
Hi,
weise den Grafikelementen "Block-Level-Charakteristika" zu:
Code :1
img { display:block; }
-
Vielen Dank .. stimmt
Ähnliche Themen
-
Zelle: ein Bild dann Freiraum dann ganz rechts Bild
Von _saurerregen_ im Forum CSSAntworten: 2Letzter Beitrag: 27.12.07, 21:09 -
SWT: Bild in einer Tabelle
Von drexpaq im Forum Swing, Java2D/3D, SWT, JFaceAntworten: 0Letzter Beitrag: 15.10.07, 21:01 -
Längliche Bilder in Tabelle nicht unter Bild
Von picos im Forum CSSAntworten: 1Letzter Beitrag: 15.07.07, 18:33 -
HG-Bild in einer Tabelle ausrichten
Von c0heed im Forum HTML & XHTMLAntworten: 2Letzter Beitrag: 27.09.06, 16:42 -
Internet Explorer macht Rand um Bild in Tabelle
Von bogomip im Forum HTML & XHTMLAntworten: 7Letzter Beitrag: 25.05.05, 01:13





Login





