欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

javascript 使td內(nèi)容不換行不撐開(kāi)

 更新時(shí)間:2012年11月29日 13:50:42   作者:  
javascript 使td內(nèi)容不換行不撐開(kāi)如何實(shí)現(xiàn),本文將詳細(xì)介紹,需要了解的朋友可以參考下
復(fù)制代碼 代碼如下:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<style type="text/css">
table {width:200px;table-layout:fixed;}
td {white-space:nowrap;overflow:hidden;word-break:keep-all;}
</style>
<table border="1">
<tr>
<td style="width:50px;">測(cè)試測(cè)試測(cè)試測(cè)試測(cè)試測(cè)試測(cè)試測(cè)試測(cè)試測(cè)試</td>
<td>測(cè)試測(cè)試測(cè)試測(cè)試測(cè)試測(cè)試測(cè)試測(cè)試測(cè)試測(cè)試測(cè)試測(cè)試</td>
</tr>
<tr>
<td>測(cè)試測(cè)試測(cè)試測(cè)試測(cè)試測(cè)試測(cè)試測(cè)試測(cè)試測(cè)試測(cè)試</td>
<td>測(cè)試測(cè)試測(cè)試測(cè)試測(cè)試測(cè)試測(cè)試測(cè)試測(cè)試測(cè)試測(cè)試</td>
</tr>
</table>
</body>
</html>

相關(guān)文章

最新評(píng)論