Artikellisting Problem
Posted: Mon 4. Sep 2006, 17:44
Wie im Bild ersichtlich hat sich der Rahmen um das Bild auf der linken Seite, also zum Text hin, zu sehr aufgebläht...

Wer findet den Fehler im Code? (listing)
CSS

Wer findet den Fehler im Code? (listing)
Code: Select all
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><div class="date" align="left" style="margin: 5px 0px 0px 0px;">{DATE:d.m.Y}</div>
[TITLE]<div class="articleHead" style="padding: 0px 0px 0px 0px;">
{TITLE}</div>[/TITLE]
</td>
<td rowspan="3">[IMAGE]<div class="image_td" style="width:100%;">{ZOOMIMAGE}<br><img
src="http://www.tv-gross-zimmern.de/img/image_resize.gif"></div>[/IMAGE][CAPTION]<div class="image_caption">{CAPTION}</div>
</div>[/CAPTION]</td>
</tr>
<tr>
<td>[SUB]<div class="articleSubhead" style="margin: 0px 0px 0px 0px;">
{SUB}</div>[/SUB]
</td>
</tr>
<tr>
<td>[SUMMARY]<div class="articleText" style="margin: 0px 10px 0px 0px;">
{SUMMARY} <a href="{ARTICLELINK}">{MORE}</a></div>[/SUMMARY]</td>
</tr>
</table>Code: Select all
.image_caption { // Bildunterschrift
text-align: left;
border-left: solid 1px #EEECEC;
border-right: solid 1px #EEECEC;
border-bottom: solid 1px #EEECEC;
background: #EEECEC;
font-style: normal;
line-height: 100%;
font-family: Tahoma, Arial, sans-serif;
font-size: 10px;
color: #6c6c6c;
}
.image_caption a, .image_caption a:link, .image_caption a:active, image_caption a:visited {
text-align: left;
border-left: solid 1px #EEECEC;
border-right: solid 1px #EEECEC;
border-bottom: solid 1px #EEECEC;
line-height: 100%;
font-family: Tahoma, Arial, sans-serif;
font-size: 10px;
background: #EEECEC;
color: #17A6F8;
font-weight: bold;
}
.image_caption a:hover {
text-decoration: underline;
}
.imgDIVinTextRight { float: right; margin:8px 20px 5px 5px; padding:0px; border:0; }
.imgDIVinTextLeft { float: left; margin:8px 5px 5px 20px; padding:0px; border:0; }
.imgDIVtopLeft { margin:8px 10px 5px 20px; padding:0px; border:0; }
.imgDIVtopCenter { margin:8px -50% 5px -50%; padding:0px; border:0; }
.image_td{
border-left: solid 1px #EEECEC;
border-right: solid 1px #EEECEC;
border-top: solid 1px #EEECEC;
font-family: Tahoma, Verdana;
font-size: 9px;
text-align:right;
background: #EEECEC;
color: #17A6F8;
font-weight:normal;
}