HTML and CSS Reference
In-Depth Information
<p>Enter your name to begin chat</p>
<input type="text" id="name" class="input" value="" />
<input type="submit" id="connect"
value="Chat now..." onclick="connect();" />
<pre id="output"></pre>
<div id="div1" class="client">
<p id="client1" class="clientName"></p>
<div id="chat1" class="chat">
<input type="text" id="input" class="input" value="" />
<input type="submit" value="Send" class="send" onclick="send();" />
Add the style element shown in Listing 13-15 to the head element:
Listing 13-15. Defining the CSS styles
background: #f0f0f0;
width: 450px;
display: block;
float: left;
width: 400px;
height: 345px;
border: 2px solid #6699cc;
border-radius: 5px;
background-color: white;
height: 300px;
font-size: smaller;
line-height: 12px;
overflow-y: scroll;
Search WWH ::

Custom Search