I have a div layer on my page that i load some text into from the database. This text is headlines and some of them is wery long. I want to cut each headline after 19 chars in the div layer named menuRight.
Example:
Tree blind dogs chewing on their legs without teeth.
will be:
Tree blind dogs c...
I found a lot about word wrapping, but not about this. Can anyone please help me?
Leon
[SOLVED] cut of word problem.
Moderator: General Moderators
-
webmasterinfo.no
- Forum Newbie
- Posts: 2
- Joined: Fri Feb 04, 2005 5:15 am
-
webmasterinfo.no
- Forum Newbie
- Posts: 2
- Joined: Fri Feb 04, 2005 5:15 am
Thankstimvw wrote:http://www.php.net/substr