Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2005-09-26 16:14:49

loco00
New member
Registered: 2005-09-10
Posts: 3

long line autowrap

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

#2 2005-10-04 10:54:01

loco00
New member
Registered: 2005-09-10
Posts: 3

Re: long line autowrap

anyone?

Offline

#3 2005-10-06 10:17:54

kimss
Xinha Pro
From: Sweden
Registered: 2005-04-05
Posts: 99
Website

Re: long line autowrap

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

Board footer

Powered by FluxBB