Sign in to follow this  
Followers 0
HarryPotter

Помогите с кодом.(очень нужно)

2 posts in this topic

Вот мой код:

<div class="base">
<div class="basetop">
<div class="datenews"><span>[day-news]{date}[/day-news]</span></div>
<span class="favorites">{favorites}</span>
<span class="isicons"><span>[edit]<img src="{THEME}/images/edit.gif" border="0" alt="" title="Редактировать новость">[/edit]</span></span>
</div>
<div class="bheading"><div>
<h1 class="heading">[full-link]{title}[/full-link]</h1>
</div></div>
<div class="headinginfo"><div class="hdiin">
[rating]

[rating-type-1]<div class="ratebox">{rating}</div>[/rating-type-1]
[rating-type-2]<div style="padding-top: 5px;" class="ratebox2">


<div class="news">

<ul class="reset">
<li>[rating-plus]<img src="{THEME}/images/like.png" title="Нравится" alt="Нравится" style="width:14px;" />[/rating-plus]</li>
<li>{rating}</li>
</ul></div>[/rating-type-2]
[rating-type-3]<div style="padding-top: 5px;" class="ratebox3">
<ul class="reset">
<li>[rating-minus]<img src="{THEME}/images/ratingminus.png" title="Не нравится" alt="Не нравится" style="width:14px;" />[/rating-minus]</li>
<li>{rating}</li>
<li>[rating-plus]<img src="{THEME}/images/ratingplus.png" title="Нравится" alt="Нравится" style="width:14px;" />[/rating-plus]</li>
</ul>
</div>[/rating-type-3]
[/rating]
<span class="categories">Раздел: {link-category}</span>
</div></div>

<div class="bmid"><div class="bmid">

<div class="maincont">

[xfgiven_image][full-link][xfvalue_image] [/xfgiven_image]
<center><div><font color="red"><b> Жанр: </font><font color="blue">[xfgiven_source][xfvalue_source][/xfgiven_source]</b></font></div></center>

{short-story} [edit-date]<br /> <br /><span class="copy"> <i>Новость отредактировал <font color="red"><strong>{editor}</strong></font> - {edit-date}</i></span>[edit-reason]<div class="quote">Причина: {edit-reason}</div>[/edit-reason]<br />[/edit-date]

<div class="clr"></div>


</div>
</div></div>
<div class="bmore"><div class="bmore">
<span class="argmore">[full-link]<strong>Подробнее</strong>[/full-link]</span>
<b class="bcomments"><img src="{THEME}/images/spacer.gif" alt="" />Комментариев: [com-link]({comments-num})[/com-link]</b>
<div class="argr">
<span class="bviews"><img src="{THEME}/images/spacer.gif" alt="" />Просмотрело: {views}</span>
<span class="bauthor"><img src="{THEME}/images/spacer.gif" alt="" />{author}</span>
</div>
</div></div>
</div>


Как сделать так,чтобы доп поля жанр и т.д были на уровни с картинкой только с правой стороны?помогите пожалуйста.

0

Share this post


Link to post
Share on other sites

img {float:left;} а там уже подгонишь по стилям положение объектов!

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0