1

我对其内容中的某个部分有疑问。

如果您看到我在该部分中写的所有内容都超出了它,并且该部分似乎是空的!

HTML:

<section id="scopri">
<article id="scopridettagli">
    <div id="scoprisx">
        <ul class="scopriul">
            <li>
                <p class="scopri">problemone</p>
            </li>
            <br />
            <li>
                <p class="scopri">problemtwo</p>
            </li>
            <br />
            <li>
                <p class="scopri">problemthree</p>
            </li>
            <br />
            <li>
                <p class="scopri">problemfour</p>
            </li>
        </ul>
    </div>
    <div id="scopridx">
        <ul class="scopriul">
            <li>
                <p class="scopri">stillproblemfive</p>
            </li>
            <br />
            <li>

                <p class="scopri">problemsix</p>
            </li>
            <br />
            <li>
                <p class="scopri">problemseven</p>
            </li>
        </ul>
    </div>
</article>

CSS:

http://jsfiddle.net/giovapanasiti/yLtEy/3/

谢谢大家!

4

1 回答 1

0

添加overflow: hidden;#scopridettagli.. 它的高度由于其浮动后代而折叠

jsFiddle

于 2013-04-08T19:52:32.447 回答