在style中加入3个属性就行:overflow:hidden;white-space: nowrap;text-overflow:ellipsis。
例子:
<input type="file" id="file" id="file" name="file" style="background:#ffffff; overflow:hidden;white-space: nowrap;text-overflow:ellipsis"/>
在style中加入3个属性就行:overflow:hidden;white-space: nowrap;text-overflow:ellipsis。
例子:
<input type="file" id="file" id="file" name="file" style="background:#ffffff; overflow:hidden;white-space: nowrap;text-overflow:ellipsis"/>