Jump to content

Adaugare tabel sub tabel + spatiu


Recommended Posts

Salut , dupa cum spune si titlul am nevoie sa pot adauga intr un html doua tabele unul sub altul cu spatiu intre ele de preferat si o linie pe mijloc pentr a putea fii scoase la imprimanta si taiate pe jumate ( o sa atasez o imagine ).

Multumesc anticipat .

tabel..png

Link to post
Share on other sites

Poți încerca aceasta:

<table>
  <thead>
    <tr>
      <th>Titlu</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Content</td>
    </tr>
  </tbody>
</table>
<hr>
<table>
  <thead>
    <tr>
      <th>Titlu</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Content</td>
    </tr>
  </tbody>
</table>

Sau:

<table style="border-bottom: 1px solid black; padding-bottom: 15px; margin-bottom: 15px;">
  <thead>
    <tr>
      <th>Titlu</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Content</td>
    </tr>
  </tbody>
</table>
<table>
  <thead>
    <tr>
      <th>Titlu</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Content</td>
    </tr>
  </tbody>
</table>

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.