здравейте имам проблем нещо немога да намеря от какво го прави ето линк
http://gif4e.bg/test/ вижда се че има размествания от долу и горе а искам да е като тук http://gif4e.bg/videos/ този проблем го прави като страницата не е пълна с клипове..
Ето кода
http://gif4e.bg/test/ вижда се че има размествания от долу и горе а искам да е като тук http://gif4e.bg/videos/ този проблем го прави като страницата не е пълна с клипове..
Ето кода
Код:
<style>
.pull-down-m{margin-top:0px;word-wrap:break-word}
.product-main{background:#fff;position:relative;display:inline-block;float:left;border:1px solid #ddd;border-right:transparent;border-bottom:transparent;width:179px;height:169px;padding:10px!important;margin:0!important;z-index:8}.last-bottom{border-bottom:1px solid #ddd}.product-main>a{display:block;clear:both;overflow:hidden;height:130px;width:100%}.product-main-a{position:relative;background-color:#fff;border:1px solid #ddd;width:112px;height:156px;padding:5px;float:left;margin:0 8px 8px 0}.product-main-a>a{display:block;clear:both;overflow:hidden;height:90px;width:101px}.product-main-a h6{margin-bottom:0!important;font-size:11px}.product-main-a small{font-size:70%!important}.img-ad{min-width:100%}.img-tads{position:relative;display:inline-block;clear:both;overflow:hidden;height:72px;width:70px;background-color:#f8f8f8;border:2px solid #ddd}.img-tads img{width:70px;height:70px}.img-tnews{position:relative;display:inline-block;clear:both;overflow:hidden;height:64px;width:64px;background-color:#f8f8f8;border:2px solid #ddd}.last-ad{margin-right:0!important;border-right:1px solid #ddd}.ad a{text-decoration:none}.prod-tn{margin-top:5px;padding-bottom:0;margin-bottom:0}.ad-details em{font-size:10px}.products-item{margin:10px}.cats-t{font-size:12px}.srch-i{height:47px;width:310px;float:right;margin-top:8.8%}.debug{border:1px solid #000}.sort{font-size:12px}.img-thumb{display:inline-block;position:relative;max-width:100%;height:auto;padding:4px;line-height:1.42857143;background-color:#f8f8f8;border:1px solid #ddd;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.product-main_tab_holder,.product-main_footer{overflow:hidden}.tad_date{padding-left:5px;height:auto;float:left}.tad_info{width:535px;height:auto;float:left;text-align:left;text-indent:25px}.tad_cena{width:110px;height:auto;float:left}.tad_actions{width:220px;height:auto;float:left;text-align:left;text-indent:40px}.product-main_date{width:85px;height:auto;float:left;font-size:13px}.product-main_info{position:relative;width:540px;height:auto;float:left;font-size:14px}.product-main_info_inactive{position:relative;width:580px;height:auto;float:left;font-size:14px}.product-main_cena{width:100px;height:auto;float:left;font-size:14px}.product-main_actions{position:relative;width:240px;height:auto;float:left}.product-main_footer{width:100%;height:30px;clear:both;border-top:1px solid #ebebeb;border-bottom:1px solid #CCC}.stats_btn{color:#3d3d3d;line-height:29px;padding:5px;font-size:12px;border-right:1px solid #ebebeb}.stats_btn_promo{color:#3d3d3d;line-height:29px;padding:6px;font-size:12px;border-right:1px solid #ebebeb}.f_stats{border-left:1px solid #ebebeb}.ad_tab_holder{width:100%;height:auto;overflow:hidden;border-top:1px solid #ebebeb;padding-top:10px}.image-holder{width:100%;max-height:440px;position:relative}.image-holder img{max-width:100%;max-height:440px}.default-box{background-color:#f9f9f9;border:1px solid #e0e0e0;padding:10px}.product-main_info_box{position:relative;background:#f9f9f9;border:1px solid #e0e0e0;width:100%;height:auto;padding:15px;margin-bottom:20px}.product-button-holder-actions{position:absolute;display:block;width:36px;right:0;z-index:2;overflow:hidden;transition:left 300ms ease-out}.product-button-holder-actions:hover{width:200px;transition:width 300ms ease-out}.btn-a1{top:-20px}.product-button-holder{position:absolute;display:block;width:36px;right:303px;z-index:2;overflow:hidden;transition:left 300ms ease-out}.product-button-holder:hover{width:200px;transition:width 300ms ease-out}.btn-0{top:60px}.btn-1{top:100px}.btn-2{top:140px}.btn-3{top:180px}.btn-4{top:220px}.btn-5{top:260px}.f{border-top:none!important}.ad-details-t{border-top:1px solid #eee;border-bottom:1px solid #eee;padding-top:10px;padding-bottom:5px}.map_box{position:relative;background:url(../img/map.jpg) center center no-repeat;width:100%;height:155px}.map_box_cnt{position:absolute;width:100%;height:155px;top:50px;text-align:center;font-weight:700}.ad_info_cena{font-size:16px;font-weight:700}.user_text{font-size:13px;line-height:20px}.entry{display:inline-block;width:46%}.ad-thumb{width:77px;height:80px;float:left;margin:2px;overflow:hidden}.product-main-thumbs-holder{width:90%;margin:auto auto auto 45px;overflow:auto}
.caption{padding:9px;color:#333}
.ad-details em{font-size:10px}
.prod-tn{margin-top:5px;padding-bottom:0;margin-bottom:0}
.color-a{color:#34495e!important}
</style>
<div class="pull-down-m">
<?php if (!empty($provider_shortres) && $provider_shortres == 'youtube') { ?>
<div itemscope="" itemtype="http://schema.org/Product" class="product-main "> <a href="<?php the_permalink(); ?>"><img itemprop="image" title="<?php the_title(); ?>" class="img-ad" alt="<?php the_title(); ?>" src="http://img.youtube.com/vi/<?php echo $video_id_shortres; ?>/0.jpg" alt="<?php the_title(); ?>" title="<?php the_title(); ?>" width="<?php echo $video_thumb_width_gshort; ?>" height="<?php echo $video_thumb_height_gshort; ?>" width="160" height="130">
<?php }
else if (!empty($provider_shortres) && $provider_shortres == 'vimeo') {
$imgid = $video_id_shortres;
$thumb = getVimeoInfo_details($imgid);
if (empty($thumb)) {
$thumb = plugins_url() . '/rio-video-gallery/img/video-failed.png';
}
?>
<img src="<?php echo $thumb; ?>" alt="<?php the_title(); ?>" title="<?php the_title(); ?>" width="<?php echo $video_thumb_width_gshort; ?>" height="<?php echo $video_thumb_height_gshort; ?>">
<?php } else if (!empty($provider_shortres) && $provider_shortres == 'dailymotion') { ?>
<img src="http://www.dailymotion.com/thumbnail/video/<?php echo $video_id_shortres; ?>" alt="<?php the_title(); ?>" title="<?php the_title(); ?>" width="<?php echo $video_thumb_width_gshort; ?>" height="<?php echo $video_thumb_height_gshort; ?>">
<?php } ?>
</a>
<div class="caption ad-details"> <div class="prod-tn"> <a href=" " class="product-main-l color-a" itemprop="name"><?php echo wp_trim_words(get_the_title(),2,'..'); ?></a> </div> <em>на <?php echo human_time_diff(get_the_time('U') , current_time('timestamp')) . ''; ?></em> </div> </div>
</div>