Got a nice-ish looking text box
This commit is contained in:
parent
b7274a9097
commit
2d38e4744d
|
@ -157,8 +157,10 @@ function chat_switch_to(id)
|
||||||
// Set the HTML
|
// Set the HTML
|
||||||
document.getElementById("chat-area").innerHTML = "\
|
document.getElementById("chat-area").innerHTML = "\
|
||||||
<div class='chat-content'></div>\
|
<div class='chat-content'></div>\
|
||||||
<textbox id='chat-content-send-textbox'></textbox>\
|
<div class='chat-content-send'>\
|
||||||
<button id='chat-content-send-button'>Send</button>\
|
<textarea id='chat-content-send-textbox'></textarea>\
|
||||||
|
<button id='chat-content-send-button'>Send</button>\
|
||||||
|
</div>\
|
||||||
";
|
";
|
||||||
|
|
||||||
// Set the title
|
// Set the title
|
||||||
|
|
13
style.css
13
style.css
|
@ -16,7 +16,7 @@
|
||||||
top: 0;
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
width: 100px;
|
width: 120px;
|
||||||
background-color: #BBB;
|
background-color: #BBB;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,5 +55,14 @@
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
#chat-area {
|
#chat-area {
|
||||||
padding-left: 100px;
|
padding: 0 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.chat-content-send {
|
||||||
|
position: fixed;
|
||||||
|
left: 340px;
|
||||||
|
right: 120px;
|
||||||
|
bottom: 0;
|
||||||
|
padding: 12px;
|
||||||
|
background-color: #CCD;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue