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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T09:37:54+00:00 2026-06-12T09:37:54+00:00

I am implementing a chat system in my web app and I am showing

  • 0

I am implementing a chat system in my web app and I am showing the message list (where new messages will be appended below) and a message box where the user can type in their messages.

enter image description here

The current issue I am facing is that the message box gets pushed down the screen as I add new messages to the list (appended to bottom of last row).

How can I fix the position of the message box on the screen so that it doesn’t get pushed down?

To clarify, the message box will always be below the last message in the list. This means that I would need the page to auto scroll so that the message box will always stay in position i.e. in the center of the screen

  • 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-12T09:37:56+00:00Added an answer on June 12, 2026 at 9:37 am

    As you’ve not shared any markup, I’ve made one demo of mine…So inorder to stop your input box pushed down, you need to use overflow-y: scroll; on your message box and give it a fixed height to it like this : My Fiddle

    HTML

    <div class="container">
    blah<br>
    blah<br>
    blah<br>
    blah<br>
    blah<br>
    blah<br>
    blah<br>
    blah<br>
    blah<br>
    blah<br>
    blah<br>
    blah<br>
    blah<br>
    blah<br>
    blah<br>
    blah<br>
    </div>
    <input type="text" />​
    

    CSS

    .container {
    height: 200px; 
    width: 200px; 
    background-color: #ff0000; 
    overflow-y: scroll;
    }​
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am implementing chat using PHP, SQL, JavaScript. I am checking for new messages
I'm implementing a little chat application where I receive messages from a server, which
I have been writing a chat app for android. I am implementing Google talk
I am implementing a web based chat platform in ASP.NET Web Application, and I
I am implementing chat in my application, very similar to the iPhone's built-in Messages
I'm implementing a web server. I have a chat application on it. When I
I am implementing an iChat-like app, using NSTextView to display chat records. The problem
I'm implementing a chat application. The user is able to have multiple chats open
I am implementing a distributed chat system, in this system we have the following
which one is better for implementing chat for the iPhone with users in the

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.