---
title: "table 不变形的方案"
author: "freesky1002"
date: "2007-11-23T10:25:26Z"
tags: ["CSS"]
slug: "table"
draft: false
lastmod: "2007-11-23T10:25:26Z"
id: 142951
url: "https://freesky1002.iteye.com/blog/142951"
---

1. 在CSS中定义 table-layout:fixed    .td {overfloew:hidden}
2. 用%来定义宽度
3. 增加 nowrap 属性