Re: Mettre icone news í coté des titres | Titre du sujet : Re: Mettre icone news í coté des titres par fleursdubien sur 01/02/2008 14:44:25
Juste une dernière question:
Comme sur la photo ci-dessous je souhaiterais placer l'image à gauche de la barre verte, comment faire?
Voici le code de mon item_news: <table cellpadding="0" cellspacing="0" class="item"> <tr> <td> <table cellpadding="0" cellspacing="0" width="98%"> <tr> <td class="itemTitle"><h2><{$story.topic_title}>:<br />.:: <{$story.news_title}> ::.</h2></td> </tr> <tr> <td class="itemInfo"> <{if $story.files_attached}><{$story.attached_link}> <{/if}> <{if $story.poster != ''}><span class="itemPoster"><{$lang_postedby}> <{$story.poster}></span><{/if}> <span class="itemPostDate"><{$lang_on}> <{$story.posttime}></span> <span class="itemStats">(<{$story.hits}> <{$lang_reads}></span>)<br /> <{$news_by_the_same_author_link}></td> </tr> <tr> <td><div class="itemBody"><{$story.imglink}><p class="itemText"><{$story.text}></p></div></td> </tr>
Et voici le css de mon item_title: .itemTitle (ligne 111)
{
padding-top: 5px;
background-color: transparent;
background-image: url(../img/bgfooter_center.png);
background-repeat: repeat-x;
background-attachment: scroll;
background-x-position: center;
background-y-position: top;
height: 40px;
color: #ffffff;
font-weight: bold;
}
Merci par avance.
|
|