Revision: 71251
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 26, 2017 21:23 by chintanhingrajiya
Initial Code
$out = strlen($in) > 50 ? substr($in,0,50)."..." : $in; or .ellipsis { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
Initial URL
Initial Description
Add ... using css when string or title not fit on place Add … if string is too long Now, assuming the element has a fixed width, the browser will automatically break off and add the ... for you.
Initial Title
Add … if string is too long
Initial Tags
Initial Language
CSS