You are not logged in.
Pages: 1
Hello,
How do I force a long line autowrap?
for example
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
for me it appears as a big long line , and a scrollbar shows up at the bottom of the window instead of wrapping into multiple lines
the same thing happens if you paste a bigger table from excel
any workarounds? Thanks.
I did a search and found nothing on this topic
Offline
anyone?
Offline
Well, as far as I can see this is correct behavior. The browser doesnt autowrap by itself, and inserting a table that is defined as 100px width in a 50px area will expand the original area.
There are several ways in fixing this, but that would probably be an "autowrap plugin" or something. When pasting text you would need to walk through the words and check their length, and from there break them. How you should break them is also a disqussion by itself.
Probably the best way of solving this is have a serverside check of the code when submitting the form, and break all words that are to long (in your designs opinion).
Mvh,
Kim Steinhaug
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Easy CMS - Et brukervennlig publiseringssystem - Easy Webshop - Nettbutikk med krefter
Last edited by kimss (2006-02-27 19:21:20)
Offline
Pages: 1