Deus Figendi: CSS in tabelle h2 bringt absatzabstand

Beitrag lesen

h3 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 1em;
font-style: normal;
font-weight: lighter;
font-variant: normal;
color: #666666;
line-height: 120%;
}
h2 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
font-style: normal;
font-weight: lighter;
font-variant: normal;
color: #666666;
line-height: 120%;

Gruss Achim

h2 {  
 font-family: Verdana, Arial, Helvetica, sans-serif;  
 font-size: 14px;  
 font-style: normal;  
 font-weight: lighter;  
 font-variant: normal;  
 color: #666666;  
 line-height: 120%;  
 margin-top:0;  
 margin-bottom:0;  
}

Und ich bin mir nicht sicher ob das ein Missbrauch ist, aber dir Verwendung von 1-Pixel-Bildern ist meistens sinnarm, du kannst ebenso einfach die Hintergrundfarbe der Zelle ändern.
Außerdem könnte es sein, dass die <h2>-Elemente hier ebenfalls nicht angebracht sind sondern entweder nichts (also nur <td>) oder ggf. <th>. Lässt sich aus dem Code ohne die Inhalte nur schwerlich erraten, das musst du dann selber wissen :)

--
sh:( fo:| ch:? rl:( br:& n4:& ie:{ mo:} va:) de:µ_de:] zu:) fl:( ss:| ls:[ js:(