table 中實現 控制 指定列的 左對齊 右對齊方式


.listTable{
	border-collapse:collapse;
	border-top:1px solid #8c9594;
	border-right:1px solid #8c9594;
	font-size:12px;
	color:#333;
    width:100%;

}
/**---table下面所有的td---**/
.listTable tr td{
	border-left:1px solid #8c9594;
	border-bottom:1px solid #8c9594;
	padding:5px 0 5px 5px;
}
 
/*.listTable tr td:first-child{
	text-align:right;
	width:100px;
 
}*/

 .listTable tr td:nth-child(1),td:nth-child(3),td:nth-child(5)
{
    text-align:right;
}
 

  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM