---
title: "CSS实现【表格内容超过一行的部分，用省略号代替】"
author: "blackchocolate"
date: "2013-01-06T10:16:56Z"
tags: ["CSS"]
categories: ["Web前端"]
slug: "css"
draft: false
lastmod: "2013-01-06T10:16:56Z"
id: 1763071
url: "https://blackchocolate.iteye.com/blog/1763071"
---

table{

　　table-layout: fixed;

}

td{

　　white-space: nowrap;
　　overflow: hidden;
　　text-overflow: ellipsis;

}