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.

Tabelle soll ganz oben beginnen

Empfohlene Antworten

Hallo,

ich möchte in HTML eine Tabelle erstellen die soll ganz oben am Rand beginnen soll

(siehe Anhang soll).

Bei mir beginnt die Tabelle nicht ganz oben (siehe Anhang ist).

Wie kann man das umsetzen? ich habe leider nichts fassendes gefunden.

über eure hilfe wäre ich dankbar

post-78241-14430449030674_thumb.jpg

post-78241-14430449030783_thumb.jpg

Hallo,

weißt du wie man CSS benutzt? Weil das lässt sich ganz einfach darüber realisieren:



<head>

    <title>Untitled Page</title>


    <style type="text/css">



        .table  

        {

            position: absolute;

            top: 0px;

            left: 0px;}


    </style>


Dann nur noch folgendes:


<table class="table">...


Dann müsste es funktionieren :-)

vielen dank für die information

Ich hoffe ich konnte dir helfen :-)

Und wenn du es ganz richtig machen willst, musst du dem Body Tag paddig und margin nehmen, bzw. auf 0 setzen, denn bei position absolute stellen sich mir die Haare auf ;)


body {

    margin: 0;

    padding: 0;

}

Falls die Tabelle noch nicht ganz an den Rand gerutscht ist, musst du nun dem table Tag (am besten eine Class verwenden wie mein Vorredner) ebenfalls margin 0 zuweißen.

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

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.