select 过长处理
后台对较长的选项内容剪裁,并把完整的信息放在option的title属性中,当鼠标移过去时会自动提示给用户看到完整的选项信息。
<style>
#theforever{width:100px;}
</style>
<select id=theforever>
<option title="很长很长很很长的提示1111111" value='1'>裁剪后的提示……</option>
<option title="很长很长很长很长的提示22222" value='2'>裁剪后的提示……</option>
<option title="很长很长很长很长的提示33333" value='3'>裁剪后的提示……</option>
</select>