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

  • Home
  • SEARCH
  • 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 104617
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T01:18:35+00:00 2026-05-11T01:18:35+00:00

I am trying to write a CSS in which when the user writes text

  • 0

I am trying to write a CSS in which when the user writes text and it overflows instead of having a scrollbar or hiding, it just goes down like in a normal Word Document or so. I have this code:

#content-text {     width: 960px;     padding-left: 10px;     padding-right:10px;     text-align: left;     color:#000;     height:100%;     margin-left: 25px;     margin-right:25px; } 

The odd thing, is that while this code actually does what I want in IE in Firefox it overflows and becomes a scrollbar. I’ve tried overflow:auto; overflow:hidden; and overflow:inherit; just to see if any helped but no luck so far, and I honestly have no idea of why is this happening in Firefox, =/ would any of you know?


Update: I tried with overflow:visible; but I just get the overflow…well visible but still it doesn’t wraps. and ONLY in Firefox so far. =/


Update: The only other thing that could be affecting is that I have another CSS code and the first is contained:

#content-title{     background-color: transparent;     background-image: url(../img/content-title-body.png);     background-repeat: repeat-y;     background-attachment: scroll;     background-x-position: 0%;     background-y-position: 0%;     height:auto;     position:absolute;     z-index :100; /* ensure the content-title is on top of navigation area */     width:1026px;/*1050px*/     margin: 160px 100px 5px 100px;     overflow: visible;     top: 55px; } 

and the HTML that uses this is:

<div id='content-title'>                 <div id='content-text'>             Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!Hola!<p>Hola!Hola!Hola!Hola!Hola!Hola!<p>Hola!Hola!Hola!Hola!<p>Hola!Hola!Hola!Hola!<p>Hola!Hola!Hola!<p>Hola!Hola!Hola!Hola!<p>Hola!Hola!          </div> </div> 
  • 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. 2026-05-11T01:18:36+00:00Added an answer on May 11, 2026 at 1:18 am

    So your css is probably fine. For example on my page I have css is like this:

     textarea.input_field2 {     margin: 10px 10px 10px 0px;     width: 440px;     height: 150px;     background:#696969;      color: white;     border: none;     font-size: 14px;     text-align: left;     vertical-align: middle;     } 

    Then in the body I call it up like this:

     <textarea rows='9' cols='9' class='input_field2' name='user_comments'></textarea> 

    It works fine. But make sure when you test it you test it with something like Lorem Ipsum, words with spaces and not one long string like ‘aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa’ cause that will force a scroll bar probably. Also check your html and css for validation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 105k
  • Answers 105k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I tested many ways till I came up to this… May 11, 2026 at 8:42 pm
  • Editorial Team
    Editorial Team added an answer 1) Saving: You have various ways to persist your RdfDocument.… May 11, 2026 at 8:42 pm
  • Editorial Team
    Editorial Team added an answer You can use the -match operator to reformulate your command… May 11, 2026 at 8:42 pm

Related Questions

I am trying to write the HTML and CSS for an internal webapp properly.
UPDATE: Apologies on lack of clarity I realise I could iterate over the controls
I've just learnt a bit jQuery, and am trying to use it for a
I'm trying to put some (vertically-stacked) display:block elements within a display:inline-block element. According to

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.