百度首页 | 百度空间
 
查看文章
 
两行文字对齐的解决方法
2008-04-02 15:26
写在前面:其实也是看网上有位大侠写得,才有所知.

两行文字对齐的解决方法
<head>
<style>
.justify{
width:100px;
text-align:justify;
text-justify :distribute-all-lines;
}
</style>

.two{font-size:12px;font-weight:normal;color: #333333;line-height:25px;width:690;text-align:justify;text-justify:inter-ideograph}


</head>
<body>
<div class="justify">
多种型号:</div>
<div class="justify">除锈兼防锈:</div>
</body> </html>
是用.justify{ width:100px; text-align:justify; text-justify :distribute-all-lines ; } 来控制两行对齐


类别:div+css | 添加到搜藏 | 浏览() | 评论 (0)
 
最近读者:
 
网友评论:
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
验证码:
 

     

©2008 Baidu