• Altering line height in textarea?

    From dr.s.lartius@dr.s.lartius@gmail.com to comp.lang.javascript on Thu Oct 11 04:35:41 2018
    From Newsgroup: comp.lang.javascript

    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@ |
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Michael Haufe (TNO)@tno@thenewobjective.com to comp.lang.javascript on Thu Oct 11 04:40:01 2018
    From Newsgroup: comp.lang.javascript

    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>
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From dr.s.lartius@dr.s.lartius@gmail.com to comp.lang.javascript on Thu Oct 11 07:22:03 2018
    From Newsgroup: comp.lang.javascript

    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@ |
    --- Synchronet 3.20a-Linux NewsLink 1.114