Am 18.04.2012 um 21:50 schrieb Tim:
>
>> Am 18.04.2012 um 20:32 schrieb Tim:
>>
>>> On 18/04/2012 1:25 PM, Martin Strand wrote:
>>>> Another option is to leave the code as it is right now and fix this with
>>>> CSS instead:
>>>>
>>>> p.mytext {
>>>> white-space: pre;
>>>> }
>>> I originally did it this way, but I found that really long lines didn't
>>> wrap at all--they just went off the page.
>> Why not using CSS for this:
>>
>> <span style="word-wrap: break-word;">
>> </span>
>
> Because I don't think it would solve the problem of converting eol to <br/>
> (but perhaps it might in combination of "white-space"), and it's not
> supported in Firefox or Opera.
It wraps long lines, it's CSS3 standard and it works at least in Firefox,
haven't tested Opera yet.
Markus
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]