Ich brech mir noch die Finger ab. Ich möchte, dass "Kolumnen" und "alle Kolumnen RSS" in einer zeile sind. Ich kann display: inline zuweisen wo ich will, es haut nicht hin.
Hier das html:
PHP
<div id="kolumnen_teaser_container">
<div id="kolumnen_teaser_head"><ul><p><a href="<?php echo get_category_link('34');?>">Kolumnen</a></p><li><a href="<?php echo get_category_link('34');?>">ALLE KOLUMNEN</a> | <a href="<?php echo get_category_link('34');?>">RSS</a></li></ul>
</div>
<div class="artikel_kolumnen_teaser">
<?php query_posts('cat=34&showposts=2'); ?>
<?php while (have_posts()) : the_post(); ?>
<div class="cats">
<h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
<div class="autor_kolumnen_teaser">
Von <?php the_author(); ?>
</div>
<div class="sidebar img">
<?php wp_the_excerpt_reloaded('excerpt_length=30&more_link_text=mehr...&more_tag=span'); ?>
</div>
</div>
<?php endwhile;?>
</div>
</div>
Alles anzeigen
und hier das css dazu:
Code
#kolumnen_teaser_container{
border: 1px solid #808080;
margin: 7px 0 0 0;
width: 310px;
}
#kolumnen_teaser_container ul a{
color: white;
text-decoration: none;
}
#kolumnen_teaser_container p{
color: white;
font-family: Arial;
font-size: 16pt;
font-weight: bold;
text-decoration: none;
list-style-type: none;
padding: 0 0 0 3px;
margin: 0;
text-align: left;
}
#kolumnen_teaser_container li{
color: white;
font-family:Arial,Verdana,Helvetica,Tahoma,sans-serif;
font-size: 10px;
letter-spacing:-0.5px;
text-decoration: none;
list-style-type: none;
margin: 0;
padding-right: 5px;
text-align: right;
}
#kolumnen_teaser_head{
background: #cc0000;
}
#kolumnen_teaser_head ul{
margin:0;
padding: 0;
}
.artikel_kolumnen_teaser{
font-size:9pt;
line-height:10pt;
font-family:Arial,Verdana,Helvetica,Tahoma,sans-serif;
margin:4px 0 0 0;
padding:3px 3px 0 3px;
color: black;
font-weight:normal;
}
.artikel_kolumnen_teaser img{
margin:2px 6px 0 0;
width:70px;
}
.artikel_kolumnen_teaser .cats{
margin:0 0 3px 0;
padding:0px 2px 7px 2px;
border-bottom: 1px solid #e7e7e7;;
}
.artikel_kolumnen_teaser .cats h2{
margin:0 0 4px 0;
padding:2px 0 0 0;
text-decoration: none;
}
.artikel_kolumnen_teaser .cats a:link{
color:black;
text-decoration: none;
}
.artikel_kolumnen_teaser .cats h2 a{
color:black;
font-weight:bold;
font-size:12pt;
line-height:12pt;
font-family:Arial,Verdana,Helvetica,Tahoma,sans-serif;
text-decoration: none;
}
.artikel_kolumnen_teaser .cats a:visited{
color:black;
text-decoration: none;
}
.artikel_kolumnen_teaser .cats a:hover{
color:black;
text-decoration: none;
}
.autor_kolumnen_teaser{
margin-bottom: 2px;
color: gray;
}
Alles anzeigen
Wer kann mir helfen ?