title: laravel-dompdf | Display divs as column like flex
body: <p>I'm creating the layout for export meeting details in PDF. there is a problem during layout. I want to display divs as a column. for example <a href="https://i.stack.imgur.com/BL8td.png" rel="nofollow noreferrer">image</a> <code>display: flex</code> not working, I'm trying table, table-cell, table-flex and table-grid but not working. Main content shifts down sidebar length.</p>
  
  <p>My all blade html codes;</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
      &lt;meta charset="UTF-8"&gt;
      &lt;title&gt;Document&lt;/title&gt;
      &lt;link href="https://fonts.googleapis.com/css?family=Roboto:300,500,700&amp;display=swap" rel="stylesheet"&gt;
      &lt;style media="screen"&gt;
          @font-face {font-family: "Roboto-Light"; font-style: normal; font-weight: 300; src: url({{ url('fonts/Roboto-Light.ttf') }})}
          @font-face {font-family: "Roboto-Regular"; font-style: normal; font-weight: normal; src: url({{ url('fonts/Roboto-Regular.ttf') }})}
          @font-face {font-family: "Roboto-Bold"; font-style: normal; font-weight: bold; src: url({{ url('fonts/Roboto-Bold.ttf') }})}
  
          body { font-family: 'Roboto-Regular'; }
          * { margin: 0; padding: 0; }
  
          .sidebar {
              position: relative;
              left: 0.9cm;
              width: 5cm;
          }
  
          .page-break-after {
              page-break-after: auto;
          }
  
          body {
              padding-top: 3cm;
              padding-bottom: 100px;
          }
  
          .wrapper {
              position:relative;
              width: 21cm;
              display: table;
          }
      &lt;/style&gt;
  &lt;/head&gt;
  &lt;body style="background: url({{ url('pdf-export-background.png') }});background-size: 100% 100%;"&gt;
  
      &lt;div class="wrapper"&gt;
          &lt;div class="sidebar" style=""&gt;
              &lt;p style="text-align:center;font-size:8px;"&gt;{{ $meeting['place'] }}&lt;/p&gt;
  
              &lt;!-- List Item --&gt;
              &lt;p style="margin-top: 15px;"&gt;
                  &lt;h4 style="margin-left:5%;font-family:'Roboto-Bold' !important;font-size:10px;"&gt;
                      &lt;span style="border-bottom: 1px solid #000;"&gt;Düzenleyen&lt;/span&gt;
                  &lt;/h4&gt;
                  &lt;p style="padding-left: 5%;"&gt;
                      &lt;span style="font-size:9px;"&gt;{{ $meeting['created_user']['name'] }}&lt;/span&gt;
                      &lt;span style="font-size:7px;font-weight:300;line-height:9px;"&gt;{{ $meeting['job_title_name'] }}&lt;/span&gt;
                  &lt;/p&gt;
              &lt;/p&gt;
              &lt;!--#List Item --&gt;
  
          &lt;/div&gt;
  
          &lt;div style="position: relative;width: 5.7cm;"&gt;
              THE MAIN CONTENT
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  
  </code></pre>