Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7717281
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T02:51:00+00:00 2026-06-01T02:51:00+00:00

All the stuff I’m finding on google or Stackoverflow are about the height of

  • 0

All the stuff I’m finding on google or Stackoverflow are about the height of the textbox, not the number of rows/lines.

I want to have a textbox with more than one line (for a “send a message” feature)

How can I achieve that?

Thanks a lot

EDIT: I want to use an input type=”text”, because I want to use it in a form.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T02:51:02+00:00Added an answer on June 1, 2026 at 2:51 am

    You could use some simple maths…

    number of lines = height / line height
    

    So if you wanted two lines in your textarea…

    textarea {
        height: 30px;
        line-height: 15px;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Please ignore all the stuff about whether you should or not go from Sketch
Hi I want to delete all stuff related to rails generate scaffold at once.
I'm writing an equirectangular map viewer, all the stuff I have found so far
I have gone through all the msdn stuff for getting started with the SDK
Not sure how to word the question... Basically, so far all my SQL stuff
I have done with All stuff with Applet. I published the applet on the
Im not a high level programmer. I do not understand all this stuff really
I have a file, which holds phone number data, and also some useless stuff.
I hear all this stuff about bazaar being slower than git. I haven't used
I see stuff all over Google on how to see the RSA key fingerprint,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.