0

归结为幻灯片末尾的段落决定了项目框的整体最小高度,从而影响了整个网站的定位。

网站链接:http: //degrafischeprofeet.be/website/(只需单击任何图像以进一步移动幻灯片,请注意调整大小在 Firefox 或 IE 中不起作用,我也需要修复)

和一张图片:http: //i.imgur.com/77bYC4r.jpg

我不知道问题到底出在哪里,所以我只是粘贴文本部门的 css

.projecttxt {
    text-align: left;
    padding: 3px;
    border-style: solid;
    border-width: 5px;
    border-color: #000;
    color: #000;
    display: none;
    margin-top: 8px;
    font-family:"georgia";
    padding: 5px 5px 0;
    float: left;
    cursor: pointer;
    position: relative !important;
}

<script>
$('#projectslide').cycle({ 
fx: 'fade', 
speed: 0, 
next: this, 
timeout: 0, 
fit: 1, 
slideResize: 1, 
reshape: 1, 
after: function() { $('#container').masonry('reload'); } });
</script>

  <div class="box col2">
<div id="projectslide" class="projectslide">
                        <img class="first" src="projects/5.jpg" alt="1">
                        <img src="projects/1.jpg" alt="2">
                        <img src="projects/7.jpg" alt="3">
                        <img src="projects/6.gif" alt="1">
                        <img src="projects/4.png" alt="1">
                        <div class="projecttxt">
                                                    <h1>Titeltje hier</h1>
                                                    <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text
                                                    ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. 
                                                    It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. 
                                                    It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently 
                                                    with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
                                                    </div>
        </div>

提前致谢!

4

0 回答 0