white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100px;
width: 100px;
http://jsfiddle.net/bhellman1/qQdDq/爲什麼CITE標籤不遵守以下屬性?
空白正在發揮作用,但寬度是不是?爲什麼?這與CITE標籤或Chrome可能有關嗎?
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100px;
width: 100px;
http://jsfiddle.net/bhellman1/qQdDq/爲什麼CITE標籤不遵守以下屬性?
空白正在發揮作用,但寬度是不是?爲什麼?這與CITE標籤或Chrome可能有關嗎?
cite
是一個內嵌元素,所以你必須指定display: block
或display: inline-block
,因爲它被限制爲寬度。
不能與此爭論。 – Kzqai