Hallo,
ich habe zu Anfang eines Beitrages einen Button (Bild) eingefügt, der das Datum anzeigen soll, siehe bitte hier:
Beispieltext ... Leider bekomme ich es nicht hin, dass das Datum korrekt in dem Button angezeigt wird. Also oben im hellen Teil das Datum und unten im blauen Block Monat und Jahr untereinander..... Ist wahrscheinlich ein
CSS-Problem... Kann mir da eventuell jemand kurz helfen.
single. php:
PHP-Code:
<div class="entry">
<span class="date3"><strong>
<?php the_time('d') ?><br />
<?php the_time('M') ?><br />
<?php the_time('Y') ?>
</strong></span>
<?php the_content(''); ?>
style.
css:
Code:
.date3 {
background:url(images/date_bg.gif);
background-repeat:no-repeat;
width:60px;
height:54px;
text-align:center;
float:left;
color:#464854;
padding-top:6px;
font-size:11px;
margin-right:15px;
margin-bottom:15px;
}
Wäre für eine Tipp wirklich dankbar.....
Gruß micky_pi