字体长的话显示省略号

<html>
<head>
<title>css word</title>
<style>
div
{
width:200; filter:blur(add=true,direction=135,strengh=20);
}   
table
{
table-layout: fixed;//表格固定

} 
td
{
color=red;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;//三个结合才能行
}
</style>
</head>
<body>
<div>
<p style="font-size:48;font-style:bold;color:red;">hongen </p>
</div>
<TABLE border=1 width="100">
<TR>
<TD width=5%>dd</TD>
<TD width=95%>中文中文中文中文中文中文中文</TD>
</TR>
<TR>
<TD width=5%>ddd</TD>
<TD width=95%>中文中文中文中文中文中文中文中文中文中文</TD>
</TR>
</TABLE>
</body>
</html>

你可能感兴趣的:(字体)