Tag: ellipsis

Text-overflow: ellipsis. In human language: gracefully cut off any text and replace it with ‘…’ when there’s no more space left for text. An absolutely beautiful CSS property, don’t you think? Think again. This only works on the first and only line of text within a text block. It removes everything after that. Not Cool, CSS! But not to worry. Today I will show you a clean and simple alternative to line clamping using PHP.

Choose Amount:

Personal Message:

Wake me up in case of:

This website uses cookies to display contextual advertising for users in the European Economic Area (EEA). No personal information is collected in this process. For users outside the EEA we use cookies to display personal advertising. If you want to know more or withdraw your consent to all or some of the cookies, please refer to the privacy policy. By closing this banner or continuing to browse otherwise, you agree to the use of cookies.DismissPrivacy Policy