我有以下HTML/CSS:歌劇<table>包的bug
<html>
<body>
<style type='text/css'>
.result_table table {
border-collapse:collapse;
}
.result_table table td {
white-space:nowrap;
max-width:200px;
overflow:hidden;
padding:4px;
max-height:24px;
height:24px;
}
</style>
<div class="result_table">
<table border=1><thead><tr><td>Title</td></tr></thead>
<tbody>
<tr>
<td>Lorem ipsum dolor sit amet, ...</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>
當「排版impsum」有大長(超過9000點的符號),Opera瀏覽器開始換行,即使沒有休息符號TD有nowrap和overflow指令。
等知名瀏覽器做一切有益的:
你忘了提及Opera的哪個版本。 – SpliFF 2011-03-15 09:51:50
http://jsfiddle.net/Kyle_Sevenoaks/ATEDV/在Opera中看起來不錯11.01 – Kyle 2011-03-15 09:59:12
在WinXP上使用Opera 10.51。 – stealthyninja 2011-03-15 10:14:32