日期:2014-05-17  浏览次数:20663 次

问一下关于CSS的小问题
例如:下面例子中,我想让
"<div class="111">第一个是块</div>第二个是文字啦"
排在一行里,应该怎么排啊??


<style type="text/css">
  .000 { width:1000px; float:left;}
  .111 { width: 113px;
</style>

<div class="000">
  <div class="111">例如第一个是块</div>第二个是文字啦
</div>

------解决方案--------------------
<style type="text/css"> 
.000 { width:1000px; float:left;} 
.111 { width: 113px; display:inline;} 
</style> 

------解决方案--------------------
<style type="text/css"> 
.000 { width:1000px; float:left;} 
.111 { width: 113px; display:inline}
</style> 


-----------------
http://bolm.cn