Relative Content

Tag Archive for javascriptphphtmlcsschat

On chat window when there is no messages,inputarea is on top below header,not in the bottom

I am creating a chat web app for a project and when there is no messages displayed on chat window the inputarea and button appear on top,below header. After every message it get’s down till it reach bottom. I want it to be displayed on bottom even if there are no messages.I will provide html,java, and css,to see if anyone can help me?I don’t want to use margin-top on input-area because it creates empty space between messages when i have messages displayed. Thanks in advance!