ChuTri Posted December 2, 2010 Share Posted December 2, 2010 Hi all,I used overflow:hidden to truncate a string when it's length is too long. <table> <tr> <td> <div style="width:80px;overflow:hidden;">This is the first sample in css</div> </td> </tr></table> This truncate works well in IE, FireFox ... It also is displayed correctly in Opera ( displayed : This is the first sam ). But when i go to print-review on each browser, IE and FireFox work well. BUT in print-review of Opera, the truncate is not worked.I don't know why in opera, the truncate work well but in printing truncate is not worked while IE and Fire work well. Could you please guide me how to make the truncate work well in BOTH browser and printing in Opera Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.