Div内容未显示在Chrome浏览器中

时间:2015-10-26 08:53:21

标签: javascript jquery html css google-chrome

这是我的网站link

在Chrome浏览器中,如果我检查元素或窗口调整大小内容正在显示,则div内容不显示。但是在Mozilla中没有问题,一切正常。

有人可以帮帮我吗?

1 个答案:

答案 0 :(得分:0)

由于某些条件,您在Chrome中注释了您的代码:

检查页面时看起来像这样:



<!--<div class="cat-wrapper" id="cat-portraits">

                    <div class="header animated" style="background-image:url(images/Gallery/portrait1.png)" data-animation="fadeIn" data-animation-delay="200">
                        <div class="overlay"></div>
                        <div class="title">
                            <p>P<br/>O<br/>R<br/>T<br/>R<br/>A<br/>I<br/>T<br/>S</p>
                        </div>
                    </div>

                    <div class="images">

                        <div class="gallery-item animated regular" data-animation="fadeIn" data-animation-delay="400">
                            <img src="images/Gallery/portrait2.png" alt="">
                            <a href="images/Full_sizes/img14.jpg" class="overlay"></a>
                            <a href="#" class="icon1-heart-empty"></a>
                            <a href="#" class="icon1-heart"></a>
                            <p class="love">47</p>
                        </div>
                        <div class="gallery-item animated small" data-animation="fadeIn" data-animation-delay="400">
                            <img src="images/Gallery/portrait6.png" alt="">
                            <a href="images/Full_sizes/img19.jpg" class="overlay"></a>
                            <a href="#" class="icon1-heart-empty"></a>
                            <a href="#" class="icon1-heart"></a>
                            <p class="love">47</p>
                        </div>
                        <div class="gallery-item animated wide" data-animation="fadeIn" data-animation-delay="400">
                            <img src="images/Gallery/portrait9.png" alt="">
                            <a href="images/Full_sizes/img13.jpg" class="overlay"></a>
                            <a href="#" class="icon1-heart-empty"></a>
                            <a href="#" class="icon1-heart"></a>
                            <p class="love">47</p>
                        </div>
                        <div class="gallery-item animated wide" data-animation="fadeIn" data-animation-delay="400">
                            <img src="images/Gallery/portrait7.png" alt="">
                            <a href="images/Full_sizes/img16.jpg" class="overlay"></a>
                            <a href="#" class="icon1-heart-empty"></a>
                            <a href="#" class="icon1-heart"></a>
                            <p class="love">47</p>
                        </div>
                        <div class="gallery-item animated small" data-animation="fadeIn" data-animation-delay="400">
                            <img src="images/Gallery/portrait3.png" alt="">
                            <a href="images/Full_sizes/img17.jpg" class="overlay"></a>
                            <a href="#" class="icon1-heart-empty"></a>
                            <a href="#" class="icon1-heart"></a>
                            <p class="love">47</p>
                        </div>
                        <div class="gallery-item animated small" data-animation="fadeIn" data-animation-delay="400">
                            <img src="images/Gallery/portrait10.png" alt="">
                            <a href="images/Full_sizes/img21.jpg" class="overlay"></a>
                            <a href="#" class="icon1-heart-empty"></a>
                            <a href="#" class="icon1-heart"></a>
                            <p class="love">47</p>
                        </div>
                        <div class="gallery-item animated small" data-animation="fadeIn" data-animation-delay="400">
                            <img src="images/Gallery/portrait4.png" alt="">
                            <a href="images/Full_sizes/img20.jpg" class="overlay"></a>
                            <a href="#" class="icon1-heart-empty"></a>
                            <a href="#" class="icon1-heart"></a>
                            <p class="love">47</p>
                        </div>
                        <div class="gallery-item animated wide" data-animation="fadeIn" data-animation-delay="400">
                            <img src="images/Gallery/portrait8.png" alt="">
                            <a href="images/Full_sizes/img18.jpg" class="overlay"></a>
                            <a href="#" class="icon1-heart-empty"></a>
                            <a href="#" class="icon1-heart"></a>
                            <p class="love">47</p>
                        </div>
                        <div class="gallery-item animated small" data-animation="fadeIn" data-animation-delay="400">
                            <img src="images/Gallery/portrait11.png" alt="">
                            <a href="images/Full_sizes/img3.jpg" class="overlay"></a>
                            <a href="#" class="icon1-heart-empty"></a>
                            <a href="#" class="icon1-heart"></a>
                            <p class="love">47</p>
                        </div>
                        <div class="gallery-item animated regular" data-animation="fadeIn" data-animation-delay="400">
                            <img src="images/Gallery/portrait5.png" alt="">
                            <a href="images/Full_sizes/img15.jpg" class="overlay"></a>
                            <a href="#" class="icon1-heart-empty"></a>
                            <a href="#" class="icon1-heart"></a>
                            <p class="love">47</p>
                        </div>
                        <div class="gallery-item animated small" data-animation="fadeIn" data-animation-delay="400">
                            <img src="images/Gallery/portrait12.png" alt="">
                            <a href="images/Full_sizes/img22.jpg" class="overlay"></a>
                            <a href="#" class="icon1-heart-empty"></a>
                            <a href="#" class="icon1-heart"></a>
                            <p class="love">47</p>
                        </div>

                    </div>
                </div>-->
&#13;
&#13;
&#13;