---
title: "文本框标题垂直对齐，过长文本自动隐藏"
author: "xubaolin9"
date: "2011-04-19T10:41:29Z"
tags: ["CSS"]
categories: ["Web前端"]
slug: "untitled"
draft: false
lastmod: "2011-04-19T10:41:29Z"
id: 1007733
url: "https://xubaolin9.iteye.com/blog/1007733"
---

用法略去，只说关键字

 

CSS

 

/\*列表页中td中显示的内容过长，从而进行截取\*/

.hidden\_control{

 overflow:hidden; 

 white-space:nowrap;

 text-overflow:ellipsis;

}

 

 

style="vertical-align:top;"