Hallo,
ich habe in meiner HTML Seite mehrere Grafiken, die alle ohne Abstand aneinander gefügt werden sollen. Der Browser fügt allerdings trotz margin=0 und padding=0 immer einen kleinen Abstand zwischen die Bilder. Wie kann ich den Abstand beseitigen?
Grüße,
Katharina
HTML:
<html>
<head>
<title>Test</title>
<link rel="stylesheet" type="text/css" href="css/formate.css">
</head>
<body style="margin:0px; padding:0px;">
<img src="images/test.gif" vspace="0" hspace="0"/>
<img src="images/test.gif" vspace="0" hspace="0"/>
<img src="images/test.gif" vspace="0" hspace="0"/>
</body>
</html>
CSS:
img
{
padding:0px 0px 0px 0px; margin:0px 0px 0px 0px;
}