<div id="entryID20308"><div class="short_top1">
<div class="short_top2">
<div class="short_top3">
<div class="short_title">[full-link]{title}[/full-link]
</div>
<div style="float:right; width:191px; height:19px"> [edit]<img src="{THEME}/dleimages/editstore.png" alt="Редактировать" />[/edit]</div>
<div class="short_author">{favorites} Автор: {author} <span>|</span>Комментарии: [com-link]{comments-num}[/com-link] <span>|</span>Просмотров: {views} <span>|</span>Дата: [day-news]{date}[/day-news]</div>
</div>
</div>
<div class="short_story">{short-story}</div>
<div class="short_bot">[full-link]<img src="{THEME}/images/spacer.gif" class="full_link" />[/full-link]
<div class="link_category1">
<div class="link_category2">
<div class="link_category3">{link-category}</div>
</div>
</div>
</div>
</div></div>
/* shortstory */
.short_top1 {background:url(../images/short_top1.gif) repeat-x;}
.short_top2 {background:url(../images/short_top2.jpg) no-repeat;}
.short_top3 {background:url(../images/short_top3.jpg) no-repeat top right;}
.short_title {font-size:14px;color:#FFF;padding:28px 0 20px 33px;}
.short_title a {color:#FFF;text-decoration:none;}
.short_title a:hover {text-decoration:underline;}
.short_author {color:#686868;padding:5px 0 10px 20px;}
.short_author span {color:#dfdfdf;}
.short_author a {color:#e09c19;font-weight:bold;text-decoration:none;}
.short_author a:hover {text-decoration:underline;}
.short_story {display:block;overflow:hidden;padding:11px 19px 12px 19px;}
.short_story a {color:#cea241;text-decoration:none;font-weight:bold;}
.short_story a:hover {text-decoration:underline;}
.short_bot {background:url(../images/short_bot.gif) repeat-x;margin:0 1px 0 1px; height:53px;}
.link_category1 {background:url(../images/link_category1.gif) repeat-x;float:right;margin:7px 9px 0 0;}
.link_category2 {background:url(../images/link_category2.gif) no-repeat;}
.link_category3 {background:url(../images/link_category3.gif) no-repeat top right;height:40px;line-height:40px;padding:0 22px 0 41px;}
.link_category3 a {color:#ffb900;font-weight:bold;text-decoration:none;}
.link_category3 a:hover {text-decoration:underline;}
.full_link {background:url(../images/full_link.jpg) no-repeat;width:110px;height:29px;margin:10px 0 0 20px;}
.full_link:hover {background-position:0 -29px;}
.back_link {background:url(../images/back_link.jpg) no-repeat;width:110px;height:29px;margin:10px 0 0 20px;}
.back_link:hover {background-position:0 -29px;}
.info1 {margin:4px 0 22px 19px;}
.info {background:#f8f7f3;border:1px solid #e9e7e4;width:648px;}
.info_top {background:url(../images/info_top.gif) no-repeat;margin:-1px;}
.info_bot {background:url(../images/info_bot.gif) no-repeat bottom;padding:7px 10px 13px 92px;color:#505050;}
.info_bot a {color:#d4981a;}
.info_bot a:hover {text-decoration:none;}
.info_telek {background:url(../images/info_telek.png) no-repeat right;width:90px;height:88px;position:relative;margin-bottom:-60px;}
.maincont, .smaincont {text-align: justify; }
.maincont img { margin: 0 9px 10px; 0; }
.smaincont img { border: 0; max-width: 150px; float: left; padding: 9px 8px 8px 9px; margin: 0 5px 5px 0; }
.fmmaincont img { border: 0; max-width: 225px; float: left; padding: 9px 8px 8px 9px; margin: 0 5px 5px 0; max-height:132px; }
Вот не пойму как вставить их в shortstory css что бы картинка не вылазила за поля новости и высота shortstory не ровнялась по тексту а ровнялась по картинке или в 160px...подскажите пожалуйста.