Index: openacs-4/packages/chat/www/html-chat.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/chat/www/Attic/html-chat.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/chat/www/html-chat.tcl 19 Nov 2007 01:14:16 -0000 1.3 +++ openacs-4/packages/chat/www/html-chat.tcl 9 Nov 2008 23:29:23 -0000 1.4 @@ -31,4 +31,16 @@ set html_chat [c1 get_all] set html_users [c1 get_users] -ad_return_template \ No newline at end of file +template::head::add_style -style "#messages { margin-right:15px; float:left; width:70%; height:250px; overflow:auto; border:1px solid black; padding:5px; font-size: 12px; color: #666666; font-family: Trebuchet MS, Lucida Grande, Lucida Sans Unicode, Arial, sans-serif; } +#messages .timestamp {vertical-align: top; color: #CCCCCC; } +#messages .user {margin: 0px 5px; text-align: right; vertical-align: top; font-weight:bold;} +#messages .message {vertical-align: top;} +#messages .line {margin:0px;} +#users { float:right; width:25%; height:250px; border:1px solid black; padding:5px; font-size: 12px; color: #666666; font-family: Trebuchet MS, Lucida Grande, Lucida Sans Unicode, Arial, sans-serif; } +#users .user {text-align: left; vertical-align: top; font-weight:bold; } +#users .timestamp {text-align: right; vertical-align: top; } +" + +set room_enter_url [export_vars -base "room-enter" {room_id {client $richclient(short)}}] + +ad_return_template