Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Rahmen Tabelle

Empfohlene Antworten

Hallo hab gerade ein total einfaches Problem, bekomme das aber irgendwie nicht hin. Habe eine Tabelle mit 4 Feldern

Jetzt möchte ich außen nen Rahmen haben und zwischen den Feldern. Die Rahmenbreite soll 1px sein

Soll also so aussehen wie auf dem Bild:

Bilder-Hoster.net

Das ist mein Grundgerüst:


<table>

    <tr>

        <td>Feld1</td>

        <td>Feld2</td>

    </tr>

    <tr>

        <td>Feld3</td>

        <td>Feld4</td>

    </tr>

</table>

oder falls du das so noch nicht kennst (ist sehr unsauber, aber zweckdienlich wenn man keine .css anlegen möchte oder keinen css block in die html einbinden möchte):

<table style="border:1px solid #000000;border-collapse:collapse;">

    <tr>

        <td style="border:1px solid #000000;">Feld1</td>

        <td style="border:1px solid #000000;">Feld2</td>

    </tr>

    <tr>

        <td style="border:1px solid #000000;">Feld3</td>

        <td style="border:1px solid #000000;">Feld4</td>

    </tr>

</table>

Wenn du eh Tabellen nutzt, wieso dann so umständlich?


<table border="1" cellspacing="0">

...

</table>

<table width="300" height="300" border="1" cellspacing="0" bordercolor="#000000">

<tr>

<td> </td>

<td> </td>

</tr>

<tr>

<td> </td>

<td> </td>

</tr>

</table>

border="1" - Pixel Rahmen

cellspacing - Zellraum 0

bordercolor - 000000 für Schwarz

Viele grüße

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.