Page 1 of 1

[SOLVED] cut of word problem.

Posted: Fri Feb 04, 2005 5:48 am
by webmasterinfo.no
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

Posted: Fri Feb 04, 2005 6:01 am
by timvw

Posted: Fri Feb 04, 2005 12:15 pm
by webmasterinfo.no
Thanks