Resolved my problem , figured out the codes for CSS and learnt some bits.
div#simple-ajax-chat{
height:359px;
overflow:hidden;
background-color:#34b489;
border:1px solid #34b489;
font-size:12px;
width:100%;
}
div#sac-output {
height:270px;
overflow:auto;
padding-left:17px;
float:right;
background-color:#ffffff;
width:99%;
}
#sac-user-info {
padding-top:1px;
padding-bottom:1px;
padding-right:2px;
padding-left:2px;
}
#sac_name {
border:1px solid #848484;
border-bottom-left-radius:5px;
border-bottom-right-radius:5px;
border-top-left-radius:5px;
border-top-right-radius:5px;
float:right;
height:20px;
width:99%;
}
#sac-user-chat{
padding-top:0px;
padding-bottom:1px;
padding-right:2px;
padding-left:2px;
}
#sac_chat {
border:1px solid #848484;
border-bottom-left-radius:5px;
border-bottom-right-radius:5px;
border-top-left-radius:5px;
border-top-right-radius:5px;
float:right;
height:20px;
width:99%;
}
#sac-user-submit{
padding-top:2px;
padding-bottom:1px;
padding-right:2px;
padding-left:2px;
}
#submitchat{
float:right;
height:30px;
width:99%;
}
.submit {
-moz-box-shadow:inset 0px 1px 0px 0px #1bb37e;
-webkit-box-shadow:inset 0px 1px 0px 0px #1bb37e;
box-shadow:inset 0px 1px 0px 0px #1bb37e;
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #50deac), color-stop(1, #34b489) );
background:-moz-linear-gradient( center top, #50deac 5%, #34b489 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#50deac', endColorstr='#34b489');
background-color:#50deac;
-webkit-border-top-left-radius:5px;
-moz-border-radius-topleft:5px;
border-top-left-radius:5px;
-webkit-border-top-right-radius:5px;
-moz-border-radius-topright:5px;
border-top-right-radius:5px;
-webkit-border-bottom-right-radius:5px;
-moz-border-radius-bottomright:5px;
border-bottom-right-radius:5px;
-webkit-border-bottom-left-radius:5px;
-moz-border-radius-bottomleft:5px;
border-bottom-left-radius:5px;
text-indent:0;
border:1px solid #2da37a;
display:inline-block;
color:#ffffff;
font-family:Verdana;
font-size:14px;
font-weight:bold;
font-style:normal;
height:30px;
line-height:30px;
width:100px;
text-decoration:none;
text-align:center;
text-shadow:1px 1px 0px #2c8f6c;
}
.submit:hover {
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #34b489), color-stop(1, #50deac) );
background:-moz-linear-gradient( center top, #34b489 5%, #50deac 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#34b489', endColorstr='#50deac');
background-color:#34b489;
}.submit:active {
position:relative;
top:1px;
}
If any changes required that will make it work better please suggest.
Also i want the chat to Ascend rather then Descend if any idea i changed the code from DESC to ASC but didnt work.