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">
      <strong>Текст размером 14px выполнен влево. Он заполняет весь блок.
        Ширина блока не превышает 600px. Если окно маленькое, блок занимет
        столько места, сколько есть.</strong>
    </div>
  </body>
</html>
 
#first{
    padding:10px;
    margin:10px 34% 10px 10px;
    border: 1px solid #333;
    background: rgb(254,253,142);
    text-align: center;
}
  #second{
    padding:10px;
    margin:10px 10px 10px 34%;
    border: 1px solid #333;
    background: rgb(246,204,252);
    text-align: center;
}
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers