Hallo,
ich habe ein mir unerklärliches Templateproblem.
Folgendes Template habe ich für die List erstellt:
<!-- ###TEMPLATE_LIST### begin
This is the template for the list of news in the archive or news page or search
-->
<div class="news-list-container">
<!-- ###CONTENT### begin
This is the part of the template substituted with the list of news:
-->
<!-- ###NEWS### begin
Template for a single item
-->
<div class="news-list-item">
<div class="news-list-date">###NEWS_DATE###</div>
<div class="news-list-title"><!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###--></div>
<div class="news-list-image"><!--###LINK_ITEM###-->###NEWS_IMAGE###<!--###LINK_ITEM###--></div>
<div class="news-list-subheader">###NEWS_SUBHEADER###</div>
<div class="clearer"></div>
<div class="news-list-morelink"><!--###LINK_ITEM###-->###MORE###<!--###LINK_ITEM###--></div>
</div>
<!-- ###NEWS### end-->
<!-- ###CONTENT### end -->
<div class="news-list-browse">###BROWSE_LINKS###</div>
</div>
<!-- ###TEMPLATE_LIST### end -->
Folgende CSS Einträge gehören dazu:
.news-list-container {
width:400px;
background:#000000;
text-align:left;
padding:0px;
border:0px;
margin:0px;
}
.news-list-item {
width:400px;
text-align:left;
padding:0px;
border:0px;
margin:0px;
}
.news-list-date {
width:400px;
text-align:left;
font-size:9px;
padding-bottom:10px;
border:0px;
margin:0px;
}
.news-list-title {
width:400px;
text-align:left;
font-size:12px;
padding-bottom:10px;
border:0px;
margin:0px;
}
.news-list-title a {
color:#FF0000;
}
.news-list-title a.visited {
color:#FF0000;
}
.news-list-title a.hover {
color:#FF0000;
}
.news-list-title a.active {
color:#FF0000;
}
.news-list-image {
width:150px;
text-align:left;
padding-bottom:10px;
border:0px;
margin:0px;
float:left;
}
.news-list-image A IMG {
border:none;
}
.news-list-subheader {
width:230px;
text-align:left;
padding-left:20px;
padding-bottom:10px;
border:0px;
margin:0px;
float:right;
}
.clearer {
clear:both;
}
.news-list-morelink {
width:400px;
text-align:left;
padding-bottom:10px;
border:0px;
margin:0px;
}
.news-list-browse {
width:400px;
text-align:left;
padding-bottom:10px;
border:0px;
margin:0px;
}
Der DIV mit der Klasse "news-list-date" wird mir unverständlicher Weise mit weissem Hintergrund angezeigt.
Sieht vielleicht jemand etwas was ich nicht seh 😉 ?
Danke schonmal im Voraus.
Matthias