Jump to content
  • 0

Столкнулся с явлением пропадающих блоков в Опере


Ялекс
 Share

Question

Пропадают блоки в Опере, подскажите что это может быть?

img {
border:none;
behavior: url("/styles/css/iepng.htc");
}

.items {
background:url(/images/bg.jpg) repeat-y;
background-position:top center;
/*min-width:1006px;*/
min-height: 380px;
font-family:verdana;
margin-right: 100px;
width: 825px;
}

.items ul {
list-style:none;
zoom:1;
}
.items span {
display: block;
font-weight: bolder;
}
.wsubc {
width: 180px;
}

.items ul li {
float:left;
width:236px;
height:247px;
background:url(/images/item_bg.png) no-repeat;
margin:4px 4px;
text-align:center;
font-size:12px;
zoom:1;
}

* html .items ul li {
background:none;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/item_bg.png', sizingMethod='scale');
}

.items img {
width:200px;
height:185px;
}
.items ul li a {
display:block;
padding:5px;
text-decoration:none;
color:#575757;
zoom:1;
}

.items .summary {
display:block;
top:-3px;
font-size:11px;
}

.items .title {
display:block;
font-size:12px;
font-weight:bolder;
}

.items .summary em {
color:#0078f6;
font-style:normal;
}
.floats
{

margin: -3em 0 0 -2em;

position: relative;
display: inline-block;
clear: both;
}
.floats:after
{
content: '';
display: block;
clear: both;
}
.floats .left
{
position: relative;
float: left;


display: inline;





margin: 2em 0 0 1em;



min-width: 236px;
}
.floats .left .r
{
position: absolute;
top: 0;
left: 0;
width: 236px;
height: 247px;
background:url(/images/item_bg.png);
text-align: center;
}
*html .floats .left{
margin: 0.6em 0 0 1em;
}
*html .floats .left .r{
background:none;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/item_bg.png', sizingMethod='scale');
}
.floats .left .min
{

margin: 0 0 236px 0;

height: 0em;

width: 236px;
}

<div class="floats">
<div class="left">
<div class="r" style="cursor: hand;" onClick="location.href='/production/ukraine/myagkiy_biskvit/mini-tortiki/mini-tortik_biskonti_kapuchino/';">
<a href="/production/ukraine/myagkiy_biskvit/mini-tortiki/mini-tortik_biskonti_kapuchino/"><img src="/cat_img/04_09_2008_22_02_43_small.png"><span class="summary"><span class="title"><span>Мини-тортик "BiSKonti"</span> капучино</span>Вес: 34 г</span></a></div><div class="min"></div>
</div>
<div class="left">
<div class="r" style="cursor: hand;" onClick="location.href='/production/ukraine/myagkiy_biskvit/mini-tortiki/mini-tortik_biskonti_kokosovyiy/';">
<a href="/production/ukraine/myagkiy_biskvit/mini-tortiki/mini-tortik_biskonti_kokosovyiy/"><img src="/cat_img/04_09_2008_22_04_21_small.png"><span class="summary"><span class="title"><span>Мини-тортик "BiSKonti"</span> кокосовый</span>Вес: 34 г</span></a></div><div class="min"></div>
</div>
<div class="left">
<div class="r" style="cursor: hand;" onClick="location.href='/production/ukraine/myagkiy_biskvit/mini-tortiki/mini-tortik_biskonti_molochno-medovyiy/';">
<a href="/production/ukraine/myagkiy_biskvit/mini-tortiki/mini-tortik_biskonti_molochno-medovyiy/"><img src="/cat_img/04_09_2008_22_05_24_small.png"><span class="summary"><span class="title"><span>Мини-тортик "BiSKonti"</span> молочно-медовый</span>Вес: 37 г</span></a></div><div class="min"></div>
</div>
<div class="left">
<div class="r" style="cursor: hand;" onClick="location.href='/production/ukraine/myagkiy_biskvit/mini-tortiki/mini-tortik_biskonti_shokoladnyiy/';">
<a href="/production/ukraine/myagkiy_biskvit/mini-tortiki/mini-tortik_biskonti_shokoladnyiy/"><img src="/cat_img/04_09_2008_22_06_25_small.png"><span class="summary"><span class="title"><span>Мини-тортик "BiSKonti"</span> шоколадный</span>Вес: 34 г</span></a></div><div class="min"></div>
</div>
</div>

Делалось наспех, поэтому не клюйте за красоту кода...

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Для того что бы визуально увидеть я добавил бордеры к блокам

.floats .left .r {

border:#FF0000 solid 1px;

}

.floats {

border:#FF0000 solid 1px;

}

Но так и не понял что и куда пропадает, да, немного вверх съехало, но чтобы блок... :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Обсуждения

    • Актуальные контакты: Telegram: @Nikker_web E-Mail:   tarasevich.email@gmail.com Портфолио https://www.behance.net/d4d4186e Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ    
    • Актуальные контакты: Telegram: @Nikker_web E-Mail:   tarasevich.email@gmail.com   Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ   Портфолио https://www.behance.net/d4d4186e
    • Доброго всем времени суток. Прошу помощи. Научите принципу изменения футера. Движок Xenforo. Версия 2.2.10. Стиль дефолтный. Что именно нужно в итоге на фото примере. Мой шаблон app.footer less имеет следующее значение.  .p-footer { .xf-publicFooter(); a { .xf-publicFooterLink(); } } .p-footer-inner { .m-pageWidth(); .m-pageInset(); padding-top: @xf-paddingMedium; padding-bottom: @xf-paddingLarge; } .p-footer-row { .m-clearFix(); margin-bottom: -@xf-paddingLarge; } .p-footer-row-main { float: left; margin-bottom: @xf-paddingLarge; } .p-footer-row-opposite { float: right; margin-bottom: @xf-paddingLarge; } .p-footer-linkList { .m-listPlain(); .m-clearFix(); > li { float: left; margin-right: .5em; &:last-child { margin-right: 0; } a { padding: 2px 4px; border-radius: @xf-borderRadiusSmall; &:hover { text-decoration: none; background-color: fade(@xf-publicFooterLink--color, 10%); } } } } .p-footer-rssLink { > span { position: relative; top: -1px; display: inline-block; width: 1.44em; height: 1.44em; line-height: 1.44em; text-align: center; font-size: .8em; background-color: #4682B4; border-radius: 2px; } .fa-rss { color: white; } } .p-footer-copyright { margin-top: @xf-elementSpacer; text-align: center; font-size: @xf-fontSizeSmallest; } .p-footer-debug { margin-top: @xf-paddingLarge; text-align: right; font-size: @xf-fontSizeSmallest; .pairs > dt { color: inherit; } } @media (max-width: @xf-responsiveMedium) { .p-footer-row-main, .p-footer-row-opposite { float: none; } .p-footer-copyright { text-align: left; padding: 0 4px; // aligns with other links } }  
    • Нужны сайты с примерами верстки, типа https://css-tricks.com/. Типовые приемы и нестандартные на все случаи жизни. Накидайте ссылок.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy