Kann es sein, daß sich NS4.x standhaft weigert, kleinere Abstände als die "normalen" (...)
Abstände von HTML-Tags (...). darzustellen?
Hallo Thilo,
kleine Zeilenabstände bei Netscape habe ich bisher immer mit der CSS-Angabe "line-height" realisieren
können. Im beigefügten Beispiel geht das u. a. auch mit dem <p>-Tag.
Grüße
Philip
<html><head>
<title>Zeilenabstand unter Netscape</title>
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css">
p.h1
{ font-family:Arial,Helvetica,sans-serif;
font-size:12px;
font-weight:bold;
color:#ffffff;
line-height:20px
}
p.h2
{ font-family:Arial,Helvetica,sans-serif;
font-size:12px;
font-weight:bold;
color:#ffffff;
line-height:8px
}
td.h3
{ font-family:Arial,Helvetica,sans-serif;
font-size:12px;
font-weight:bold;
color:#ff0000;
line-height:8px
}
</style>
</head><body bgcolor=#000000>
<table border=1 cellpadding=4 cellspacing=0><tr valign=top>
<td><p class="h1">20 pixel<br>20 pixel</p>
<p class="h1">20 pixel<br>20 pixel</p></td>
<td><p class="h2">8 pixel<br>8 pixel</p>
<p class="h2">8 pixel<br>8 pixel</p></td>
<td class="h3"><p>hi hi<br>he he</p>
<p>ho ho<br>ha ha</p></td></tr></table></body></html>