Keyword

[SOLVED] text goes out of the position

More
10 years 9 months ago #122587 by ross
Hi!

i have problem with text written by users - for their profile description and text for new items.
If they write a lot of text in one row and save it - it makes the text to go way out of the position.

How can I limit the text width? I want that if text goes out of some limit - it should start from a new row?
Thank you

Please Log in or Create an account to join the conversation.

More
10 years 9 months ago #122588 by Steve
Replied by Steve on topic Re: text goes out of the position
Is it a long string of text without any spaces? Try adding this to the appropriate css:

word-wrap:break-word;

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 9 months ago #122589 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: text goes out of the position
Chances are they pasted it from MS Word. 99% c/p from word causes these issues.

Some editors provide text cleaning and remove MS Word formatting.

It is possible that you may need to clean up the text using notepad/ TextWrangler (MAC OS) yourself.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
10 years 9 months ago #122590 by ross
Replied by ross on topic Re: text goes out of the position
yes, thank you - i just used

word-wrap:break-word;

in css file of my joomla template and it works perfect now

thanks

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum