Schmoopy
04-10-2009, 12:53 PM
Hi, I'm having this problem where if someone puts in a string, for example "dposdpaosdapsodapsdoaspdoasdldasldasdpaosdpodssapdosamx", just random text - but all in one word, it goes off the div and I don't want to use overflow:auto; because it looks ugly with a scroll bar.
Here's some examples.
Normal:
normal.jpg (http://garlandsails.co.uk/images/normal.jpg)
No line break:
nobreak.jpg (http://garlandsails.co.uk/images/nobreak.jpg)
Any way to get around this?
Here's some examples.
Normal:
normal.jpg (http://garlandsails.co.uk/images/normal.jpg)
No line break:
nobreak.jpg (http://garlandsails.co.uk/images/nobreak.jpg)
Any way to get around this?