//文字溢出
$(function(){
	$(".d_dt a").each(function(){
		var maxwidth =100;
		if($(this).text().length>maxwidth){
			$(this).text($(this).text().substring(0,maxwidth));
			$(this).html($(this).html()+'...');
		}
	})
})

 

相关文章: