Backo
Backo

Reputation: 18871

How to make long URLs to go to a newline?

In my application I have some URLs that are very long strings (> 100 chars) and when are displayed break the template (eg: an "embedded" HTML <div> column is enlarged quite a bit). So, *how can I "simply" make possible those long URLs to go to a newline without to much effort and "complicate" the code?*

Upvotes: 0

Views: 99

Answers (1)

Marc Simon
Marc Simon

Reputation: 5605

Is that only css problem ? Try to add this to your css word-wrap:break-word;

Upvotes: 2

Related Questions