augustq: Tabelle mit horiz. Scrollbalken

Beitrag lesen

Hallo MrMurphy,

so funktioniert es:

<table>
<thead>
  <tr>
    <th>MySQL</th>
    <th>MariaDB</th>
  </tr>
</thead>
<tbody>
<tr>
<td style="vertical-align:top; overflow-x:scroll; max-width:450px;"><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></td>
<td style="vertical-align:top; overflow-x:scroll; max-width:450px;"><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></td>
</table>

Vermutlich braucht man die Breite der Zelle und die Anweisung overflow.

Danke. AugustQ

PS: ich habe jetzt einen horizontalen und einen vertikalen Scrollbalken. Der vertikale Balekn kommt vom pre-Element.

[Vollzitat entfernt]