in reply to Re^2: Estimating height of TEXTAREA from content
in thread Estimating height of TEXTAREA from content

I set the font size to monospace 10pt with CSS
Which of course, the user can override. You can never know the output of your HTML. This is by design. Don't fight it.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on Re^3: Estimating height of TEXTAREA from content

Replies are listed 'Best First'.
Re^4: Estimating height of TEXTAREA from content
by tomazos (Deacon) on Jul 25, 2005 at 06:05 UTC
    I think you're confusing this for an optional layout problem that could be left to the user agent.

    I am all for the seperation of content from presentation, I just don't know how to do that in this case. I want to present my visitor an editable article, I have to put something in the character width and character height of the TEXTAREA. Tell me how not to fight it.

    -Andrew.


    Andrew Tomazos  |  andrew@tomazos.com  |  www.tomazos.com
      I have to put something in the character width and character height of the TEXTAREA. Tell me how not to fight it.
      Users know how to operate scrollbars. In other words, don't worry about it. Use natural numbers that make sense for your overall design, and if it ends up with scrollbars, that's life.

      -- Randal L. Schwartz, Perl hacker
      Be sure to read my standard disclaimer if this is a reply.

        I know how to operate scrollbars. That doesn't mean I like to use them. Personally, I think that if I need to edit something, that who ever wants me to edit something should fire up $VISUAL.
        That's what I did originally and then users complained about the fact that they had to operate two scrollbars (one for the browser, one for the textarea), the dynamic sizing was in response to that.

        -Andrew.


        Andrew Tomazos  |  andrew@tomazos.com  |  www.tomazos.com