.txt{ width:100px; height:30px; font-size:20px; line-height: 30px; vertical-align: middle; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }