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 399139
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T16:49:02+00:00 2026-05-12T16:49:02+00:00

I set up several textarea’s with diffrent sizes as: <textarea class=markItUp rows=5 cols=80 name=upstring>

  • 0

I set up several textarea’s with diffrent sizes as:

<textarea class="markItUp" rows="5" cols="80" name="upstring">

or

<textarea class="markItUp" rows="100" cols="80" name="upstring">

But after the markitup has been applied they are always resized to 18 rows. Why?

I have checked rows with firebug and its unchanged (still 5 or 100) so changing that wont help.

Since I have lots of texts I want to do small edits to I do not what to have a to small or to big area to start with since I already know the appropriate size.

Pleas help

  • 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-05-12T16:49:02+00:00Added an answer on May 12, 2026 at 4:49 pm

    After some playing around to understand things I produced the following code to solve my problem:

    jQuery(".markItUp").markItUp(mySettings).css('height', function() {
      /* Since line-height is set in the markItUp-css, fetch that value and
      split it into value and unit.  */
      var h = jQuery(this).css('line-height').match(/(\d+)(.*)/)
      /* Multiply line-height-value with nr-of-rows and add the unit.  */
      return (h[1]*jQuery(this).attr('rows'))+h[2]
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to set several forms in one page. Each has textarea with TinyMCE
I'm new to EF but i've managed to set up several entities with relationships
I want to set several transform options for my html object but with different
I have set up several http request samplers in Jmeter that have either get
I have several objects set up in Core Data, one of which is Deck
My program requires several floats to be set to a default number when the
Several of my controller actions have a standard set of failure-handling behavior. In general,
I have several workflows where the users want to set the number of days
I see there are several posts regarding Cannot set Property and I'm still struggling
I have a set of zip files which contains several ieee-be encoded binary and

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.