-2

我有以下 HTML

<div class="cf section unifyRepeat" >
    <h2>Unmatched Accuracy, Unmatched Speed</h2>
    <div class="content">
        <p>blah blah blah...</p>
        <p>Not any more....</p>
    </div>
</div> <!-- .section -->

这会产生一个文本区域。然而,文本在进入新行之前只在页面上移动了大约 50%。有没有办法可以增加文本的宽度,这样我就可以在一行上放更多的东西?

4

1 回答 1

2

By default, a <div> will use all available width. No settings are required for that. If it's not doing so, then you already have CSS or other styling preventing this.

If you want help with your CSS/styling, then you'll need to provide it so folks can see it.

于 2012-04-17T20:04:12.860 回答