title: CSS why can't center div with specific width
body: <p>when i use it at my browser it goto left and can't center it with anyway like text-align or flexbox or anything it can be fixed when i remove the width but i need it to give the paragraph look that i want</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.pragraph  {
      position: absolute;
      width: 1300px;
      height: 182px;
      left: 30px;
      top: 699px;
      line-height: 65px;
      text-align: center;
      
      
  }
  .pragraph p {
      position: absolute;
      font-size: 40px;
      font-family: 'Peddana', serif;
      text-align: center;
      width: 100%;
      
      
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="pragraph"&gt;
      &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam sapien diam, eleifend eu fringilla auctor, laoreet et elit. Phasellus efficitur posuere dui vitae laoreet. Phasellus&lt;/p&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>