3

ブートストラップ css ファイルを使用しています。私は自分のサイトの説明領域に次のコードを持っています。基本的には、段落を適切に呼び出された div クラス内に配置したいのですが、一部の段落はクラスの外に出続けます。ここにコードがあります

   <!--left col-->
       <div class="span8" style="background-color:black;">
    <img src="Hydrangeas.jpg">
        <div class="well" style="color:black;">  
        <p>Description of The Person in theren llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
        kljjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj jkhl kjjjjjjjjjjjjjjjjjjjjjjjjjjjjj
        skdfkljsdklfjkllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
        skdlfjkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkpacking meeee<p>
    </p>
</div>  

私は基本的に、パラガルフを内部にとどめておきたいと思っています

4

1 に答える 1

7

Since that text is one really long word, you need to add CSS to tell the browser to wrap it.

word-wrap: break-word;

It could also be that the HTML you posted is not valid. You have another opening <p> tag at the end of your first paragraph, and you are closing 'well' but never 'span8'.

于 2012-11-01T00:35:35.327 に答える