MrMurphy1: Tabelle mit horiz. Scrollbalken

Beitrag lesen

Hallo

ich sehe bei dem HTML

      <article>
         <section>
            <h2>MySQL</h2>
            <pre class="grey">
               <span class="notranslate">
create_myisam_from_heap()
/**
   If a MEMORY table gets full, create a disk-based table and copy all rows
   to this.
   ....
*/
               </span>
            </pre>
         </section>
         <section>
            <h2>MariaDB</h2>
            <pre class="grey">
               <span class="notranslate">
create_internal_tmp_table_from_heap()
/*
   If a HEAP table gets full, create a internal table in MyISAM or Maria
   and copy all rows to this.
   ....
*/
               </span>
            </pre>
         </section>
      </article>

folgendes CSS

      article {
         display: flex;
      }
      section {
         padding: 0.5rem;
      }
      pre.grey {
         background-color: #eee;
         font-family: monospace;
         font-style: normal;
         overflow: auto;
         max-height: 15em;
         border: 1px solid #aaa;
      }

Gruss

MrMurphy