的刪節號。而使用CSS便可以達到這個效果。 方法便是在文字區塊內加上text-overflow: ellipsis; 、white-space: nowrap; 及overflow:hidden;. 如下範例:. HTML; CSS.
確定! 回上一頁