/* original from http://reason.cs.illinois.edu/wenpu1/chatbox.html, modified by Philip Guo */ /* style sheets */ .ui-chatbox { position: fixed; bottom:0; padding: 2px; background: #CCCCCC; font-size: 10pt; } .ui-chatbox-titlebar { padding: 3px; height: 20px; cursor: pointer; } .ui-chatbox-content { padding: 0px; margin: 0px; border: 0px; } .ui-chatbox-log { padding: 3px; height: 250px; overflow-y: auto; overflow-x: hidden; background: #FFFFFF !important; } .ui-chatbox-input { padding: 3px; border-top: 1px solid grey; overflow: hidden; } .ui-chatbox-input-box { margin: 5px; border: 2px solid lightgrey;/* #6699FF */ padding: 2px; height: 50px; background: #FFFFFF !important; } .ui-chatbox-icon { float: right; } .ui-chatbox-input-focus { border-color: #6699FF; } .ui-chatbox-msg { margin-top: 10px; float: left; clear: both; /* Source: http://snipplr.com/view/10979/css-cross-browser-word-wrap */ white-space: pre-wrap; /* CSS3 */ white-space: -moz-pre-wrap; /* Firefox */ white-space: -pre-wrap; /* Opera <7 */ white-space: -o-pre-wrap; /* Opera 7 */ word-wrap: break-word; /* IE */ }