Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #35770 > unrolled thread

Altering line height in textarea?

Started bydr.s.lartius@gmail.com
First post2018-10-11 04:35 -0700
Last post2018-10-11 07:22 -0700
Articles 3 — 2 participants

Back to article view | Back to comp.lang.javascript


Contents

  Altering line height in textarea? dr.s.lartius@gmail.com - 2018-10-11 04:35 -0700
    Re: Altering line height in textarea? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2018-10-11 04:40 -0700
      Re: Altering line height in textarea? dr.s.lartius@gmail.com - 2018-10-11 07:22 -0700

#35770 — Altering line height in textarea?

Fromdr.s.lartius@gmail.com
Date2018-10-11 04:35 -0700
SubjectAltering line height in textarea?
Message-ID<faa3e964-187d-42d6-94f2-3b03b98d3efb@googlegroups.com>
I have a textarea containing editable 10-pt Segoe Script, and I would like to be able to alter the line spacing.  Is that yet available, and if so how?

-- 
  (c) Dr. S. Lartius, UK.  Gmail: dr.s.lartius@                       |

[toc] | [next] | [standalone]


#35771

From"Michael Haufe (TNO)" <tno@thenewobjective.com>
Date2018-10-11 04:40 -0700
Message-ID<ae1a6b6d-b4e6-406a-b752-192acecfde09@googlegroups.com>
In reply to#35770
dr.s.l...@gmail.com wrote:
> I have a textarea containing editable 10-pt Segoe Script, and I would like to be able to alter the line spacing.  Is that yet available, and if so how?

<style>
    textarea {
        line-height: 2;
    }
</style>

[toc] | [prev] | [next] | [standalone]


#35774

Fromdr.s.lartius@gmail.com
Date2018-10-11 07:22 -0700
Message-ID<9a2b5194-70a0-461e-8e4d-8b28e2d51e98@googlegroups.com>
In reply to#35771
On Thursday, October 11, 2018 at 12:40:08 PM UTC+1, Michael Haufe (TNO) wrote:
> dr.s.l...@gmail.com wrote:
> > I have a textarea containing editable 10-pt Segoe Script, and I would like to be able to alter the line spacing.  Is that yet available, and if so how?
> 
> <style>
>     textarea {
>         line-height: 2;
>     }
> </style>

From which I deduced that, in my application,
	Frm.TA.style.lineHeight = Frm.lHt.value	// 0.9
should work - and it does.  Thanks ... as usual.

-- 
  (c) Dr. S. Lartius, UK.  Gmail: dr.s.lartius@                       |

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web