× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Of course, it is so easy to do in RPG and 5250. I am pretty sure that green screen will make a come back. And OS/2, too. Any day now.

Does overflow: hidden help? I expected it to cause more trouble than it is worth. Also, I expected to see a wordwrap in there somewhere?

One other thought would be to make a, say, 70 column resizable box, with the first 50 characters being a 1 to 50 ruler line and cr. Follow that with the 250 column field. Then they can insert a cr as appropriate, as indicated by the ruler line, with their mouse and an Enter?


On 10/25/2015 9:26 PM, midrange wrote:
I'm actually up to this in css

textarea
{
font-family: "Lucida Console", Monaco, monospace;
white-space: pre;
white-space: -moz-pre;
resize: none;
border: 1px solid #c0c0c0;
padding: 2px;
box-sizing: border-box;
overflow: hidden;
}

The rows and cols in the html.
IE looks good.
Chrome has 52 characters in 1st line (and you can google "Chrome textarea 2
px 2 character"
And read for hours...
Firefox - doesn't believe in fixed width textarea.(that I can see)..

Going to let users decide if to scratch the textarea for 5 input text fields
(they lose the easy copy/paste from another source ability)..

But still testing options.
Jim


-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Booth Martin
Sent: Sunday, October 25, 2015 8:24 PM
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] textarea that works for blocks of text and keeps
length of each line

style="resize: none;" cols="50" rows="5" ?


On 10/25/2015 2:22 PM, midrange wrote:
Booth,
...
In css file:
textarea
{
font-family: "Lucida Console", Monaco, monospace;
white-space: pre;
}
...
Jim
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.