WordPress.org

Forums

Problem with <textarea> tag support in fireFox (7 posts)

  1. chandra_Av
    Member
    Posted 10 years ago #

    Hi All,
    I have a wierd problem with <textarea> tag in Firefox. This tag works fine in IE. But in Firefox, the vertical scroll bar for the text area is missing.
    This is the CSS code.
    .formTextBox, .formNumTextBox
    {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: #424241;
    background-color: #FFFFFF;
    font-size: 11px;
    border: 1px solid #666666;
    }
    This is the code in my jsp page:
    <tr>
    <td class="label" align="center">
    <textarea class="formTextBox" style="width:370; height:132"></textarea>
    </td>
    </tr>
    Can anyone please help me in this regard....

  2. Avenir
    Member
    Posted 10 years ago #

    Is it missing even when the text in the fills up the entire area? I'm using Firefox and this doesn't happen to me, although the scroll bar doesn't appear when the text in the box still fits inside the box. Try typing some text so in the box that fills it up and has to go onto new lines. The scrollbar should appear.

    [Edit] And please don't quadruple post. If someone has the answer, they'll see your first message.

  3. chandra_Av
    Member
    Posted 10 years ago #

    Scroll bar appears when i type in some text. But as a property of <textarea> tag, scroll bar should be displayed when it is displayed even without text. Why does'nt this happen in FireFox.

  4. chandra_Av
    Member
    Posted 10 years ago #

    Scroll bar appears when i type in some text. But as a property of <textarea> tag, scroll bar should be displayed when it is displayed even without text. Why does'nt this happen in FireFox.

  5. chandra_Av
    Member
    Posted 10 years ago #

    Scroll bar appears when i type in some text. But as a property of <textarea> tag, scroll bar should be displayed when it is displayed even without text. Why does'nt this happen in FireFox.

  6. Avenir
    Member
    Posted 10 years ago #

    Try adding overflow: scroll; to your stylesheet, maybe? The CSS documentation suggests that this causes a scrollbar to appear regardless of whether or not the text is clipped, but it was talking mostly about divs at the time, so I don't know if this works with textareas. Try it though.

    And, what's with the multiposting?

  7. chandra_Av
    Member
    Posted 10 years ago #

    When i use overflow: scroll in CSS document, it displays both vertical and horizontal scroll bars in the jsp screen. Is there any other solution?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.