我不确定您想要什么可能的解决方案,但是您始终可以将重要文本大小定义为您想要的大小,然后基于此定位旋转 div。
前任。CSS
#importext{
max-width:200px;
white-space:nowrap;
overflow-x:scroll;
}
HTML
<table>
<tr>
<td>
<a href="a-link">LINK</a> <div id="importext">IMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXTIMPORTANT-TEXT</div>
</td>
<td>
</td>
Something not important
</tr>
</table>
jQuery
spinDiv = jQuery('<div class="spinning-div" style="position:absolute; margin:-25px 0 0px 220px"/>');
这是一个 JSFiddle 示例。我还调整了微调器的边距。
http://jsfiddle.net/Agony/kALAB/6/