Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
  <div id="chat-outline">
    <div id="chat-main">
    <div id="chat-inner">
      <div id="chat-title">
      </div>
      <div id="chat-display">
      </div>
      <div id="chat-message">
      </div>
      </div>
    </div>
</div>
</body>
</html>
 
#chat-outline
{background-color:grey;width:30%;height:40%;
  position:fixed;bottom:5px;right:5px;
padding:2px;}
#chat-main
{
  width:100%;
  height:100%;
  background-color:silver;
  overflow:hidden;
}
#chat-inner
{
  width:95%;
  height:97%;
  
  /*can I give pixels here? I need 2px value*/
   margin:2.5% 2.5% 2.5% 2.5%;  
  
  /*margin:2px;*/
  
  background-color:cornflowerblue;
}
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers