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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:43:51+00:00 2026-05-23T07:43:51+00:00

I have bizarre css behavior. I have a div container (#right-input) that houses a

  • 0

I have bizarre css behavior. I have a div container (#right-input) that houses a textarea and button and they pop out of #userinput container if I do not delete the font: x-small arial,helvetica,sans-serif; in a body tag that I have. Anyone have any ideas? How can a font declaration affect an element like that?

body { 
    font: x-small arial,helvetica,sans-serif;
    background: #000;
    margin:0;
text-align:center;
}
#userinput {
    font-size:130%;
color: #333;
    margin:10px auto 10px auto;
    padding:10px;
    background: #F7F7F7;
    width:570px;
height:135px;
    position:relative;
z-index:9999;
  border: 1px solid #888;
  -moz-border-radius-bottomleft:7px;
-moz-border-radius-bottomright:7px;
-moz-border-radius-topleft:7px;
-moz-border-radius-topright:7px;

opacity: 0.85;
    /* for IE */
  filter:alpha(opacity=85);
}
#right-input{
        clear:left;
float:right;
width:480px;
}



  <div id="userinput">
    <div id="right-input">    
        Send a message to others watching!
        <form id="form" action="form.php?action=add" method="post"> 

                    <TEXTAREA id="message" class="limited" name="message" maxlength="1000" COLS="45" ROWS="6"></TEXTAREA>
            <br>
<input id="send" type="submit" value="Send!" />     
        </form>

    </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. Editorial Team
    Editorial Team
    2026-05-23T07:43:51+00:00Added an answer on May 23, 2026 at 7:43 am

    With your current code, if you resize #right-input, it doesn’t adjust #userinput because #right-input is floated which takes it out of the document flow.

    Try changing your html to this:

    <div id="userinput">
        <div id="right-input">    
            Send a message to others watching!
            <form id="form" action="form.php?action=add" method="post"> 
    
                <TEXTAREA id="message" class="limited" name="message" maxlength="1000" COLS="45" ROWS="6"></TEXTAREA>
                <br>
                <input id="send" type="submit" value="Send!" />     
            </form>
    
        </div>
    
        <!-- added div to clear float -->
        <div style="clear:both;"></div>
    
    </div>
    

    It should make sure that your textarea will stay inside its div.

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

Sidebar

Related Questions

This is bizarre. I have a div. It is set with display: none .
I have a bizarre problem that is doing my head in. I have the
I have a bizarre problem that is causing us problems. We have a simple
I seem to have a bizarre error I just can't quite figure out. My
This is bizarre, but I am hoping someone can help me out. I have
Hey php gurus. I'm running into some bizarre class scope problems that clearly have
I have the most bizarre bug, where clicking a listbox item makes the listbox
I have been using Hibernate very successfully, but today I noticed a bizarre phenomenon
Have a n-tire web application and search often times out after 30 secs. How
I have this bizarre problem. I'm making a checklist program with XCode and I'm

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.