Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
 <head>
  <meta charset="utf-8">
  <title>Пример 2</title>
  <link rel="stylesheet" href="css/lesson2.css">
  <body>
    <div id="first">
      <p>Текст размером 14px выполнен влево. Он заполняет весь блок. Ширина блока не превышает 600px. Если окно маленькое, блок занимет столько места, сколько есть.</p>
    </div>
  </body>
</html>
 
#first{
    padding:10px;
    margin:0px;
    max-width: 580px;
    margin-right: auto;
    margin-left: auto;
    border: 1px solid #333;
    background: rgb(226,255,220);
    text-align: left;
    font-family: Sans-serif;
    font-weight: bold;
    font-size: 14px;
    line-height: 1;
}
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers