IE下,只是写成
<table style="table-layout:fixed; overflow:hidden;text-overflow:ellipsis;">
<tr>
<td nowrap>
兼容IE和FF的写法
<table style="table-layout:fixed;">
<tr>
<td style="overflow:hidden;text-overflow:ellipsis;" nowrap>
IE下,只是写成
<table style="table-layout:fixed; overflow:hidden;text-overflow:ellipsis;">
<tr>
<td nowrap>
兼容IE和FF的写法
<table style="table-layout:fixed;">
<tr>
<td style="overflow:hidden;text-overflow:ellipsis;" nowrap>
转载于:https://my.oschina.net/af666/blog/864958