2013-04-28 111 views
-1

在下面的代碼中,我想擺脫列和添加約4段文字。 但是,當我這樣做現在整個網站的結構已經毀了。css html 5擺脫列

   <div class="three_column_layout"> 


       <div class="col_1"> 
       <p>This is a three columns example. 
       Praesent gravida venenatis felis sed egestas.</p>    
       </div> 
       <div class="col_1"> 
       <p>This is a bold text. 
       Sed ac tortor lobortis sem gravida consequat et vel mi.</p>    
       </div> 
       <div class="col_1"> 
       <p>This is an italic text sample. 
       Curabitur arcu orci, iaculis vel bibendum gravida tortor lobortis.</p>    
      </div> 

       <div class="clear"></div> 
       <!-- Use this clear div to separate rows of content --> 

       <div class="col_1"> 
       <p class="black_box">This is the black box  
       styling. I use it for my private messenger 
       and also my group chat feature.</p> 
       </div> 
       <div class="col_2"> 
       <p>Sed lacus est, iaculis sed sagittis ac 
       malesuada a felis. Vestibulum vitae dictum mauris. Aenean 
       felis nisl, pulvinar quis blandit et, fermentum ut tortor. 
       In condimentum nisi ut leo fermentum ornare. 
       Praesent gravida venenatis felis sed egestas.</p> 
       </div> 
+0

你需要的最後一「格」 – Shanimal 2013-04-28 07:27:29

+0

這看起來像它可以使用一些標籤嵌套,所以很清楚你錯過了什麼標籤。使用標籤縮進您的div和段落,如代碼,並且您會發現使用起來更容易。 – halfer 2013-04-28 20:24:04

回答

0

<div class="three_column_layout">沒有匹配的結束</div>