Autor Beitrag
Supernova
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 108

WinXP
D7 Prof
BeitragVerfasst: Mi 16.11.05 20:28 
Hi,

ich habe jetz folgenden HTML/CSS-Code:

ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
<table>
  <tr>
    <td><img src="lo.gif"></td>
    <td><img src="bo.gif"></td>
    <td><img src="ro.gif"</td>
  </tr>
</table>


So, die drei Bilder sind nun in einer Reihe...
Mein Problem besteht darin dass wenn ich jetzt mir des Anschaue dann seh ich zwischen den 3 Bildern einein Abstand, nur den will ich weghaben. Hab schon alles mögliche mit CSS rumprobiert, schaff's aber nicht. Das mit Border-Collapse hat auch nicht funktioniert.

Bitte helft mir...

Grüße
Supernova :wink:

_________________
Input - Output => Ganz Kaputt
*** MFG Supernova ***
JayK
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1013



BeitragVerfasst: Mi 16.11.05 20:42 
Bei der Tabelle cellpadding und cellspacing sowie border auf 0 stellen und für die Bilder padding und margin auf 0.
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
<!-- HTML Beispiel -->
<table cellpadding="0" cellspacing="0" border="0">
 <tr>
  <td>
    <img src="sowieso" margin="0" padding="0">
  <td>
 </tr>
</table>

so in der Art jedenfalls ;)
Supernova Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 108

WinXP
D7 Prof
BeitragVerfasst: Mi 16.11.05 20:43 
Danke, habs aber gerade selber gefunden... :wink:

Trotzdem Danke...

Supernova

_________________
Input - Output => Ganz Kaputt
*** MFG Supernova ***