|
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 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.