长标题的文章可以使用简单的CSS样式实现省略号控制显示。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>CSS实现超过特定长度显示省略号的方法 knowsky.com</title>
<style type="text/css">
ul {width:200px; margin:50px auto;}
li {width:200px; line-height:25px; text-overflow:ellipsis; white-space:nowrap; overflow:hidden;}
a {color:#03c; font-size:13px;}
a:hover {color:#000;}
</style>
</head>
<body>
<ul>
<li><a href="Windows'http://www.knowsky.com/348834.html">Windows Vista系统常用补丁功能介绍</a>
<li><a href="Windows'http://www.knowsky.com/348835.html">Windows Vista系统存储优化完全指南</a>
<li><a href="Photoshop'http://www.knowsky.com/348836.html">Photoshop简单快速为照片添加光线特效</a>
<li><a href="Photoshop'http://www.knowsky.com/348837.html">Photoshop绘制可爱半透明圣诞帽离</a>
</ul>
</body>
</html>