.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;
}
 

  table 中实现 控制 指定列的 左对齐 右对齐方式

相关文章:

  • 2022-01-27
  • 2021-05-21
  • 2021-08-13
  • 2021-04-22
  • 2022-01-27
  • 2022-12-23
  • 2021-10-27
猜你喜欢
  • 2022-12-23
  • 2021-05-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-18
  • 2021-11-09
  • 2022-02-22
相关资源
相似解决方案