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.

Empfohlene Antworten

Veröffentlicht

Hi @ll,

benötige einen kurzen Denkanschubser. Ich habe in dem Hauptframe meiner HTML-Seite einen Rand zwischen eigentlichem Framebeginn und Schriftbeginn von ca. 20 Pixeln. Ich komm einfach net drauf wie ich den wegbekomme. Selfhtml hilft mir gerade auch herzlich wenig. Weiß jemand zufällig wie der Befehl lautet ohne Rand am oberen Ende des Frames zu beginnen.

html 4.0 ? xhtml ?

stylesheet:

*

{

margin: 0px;

padding: 0px;

}

kannst auch:

body

{

margin: 0px;

padding: 0px;

}

schreiben aber ersteres ist "vorsorglich" besser - meiner Meinung nach.

  • Autor

Läuft. Dankeschön für die schnelle Antwort. Kleine Frage am Rande:

Wofür steht das Sternchen? Bezieht sich das auf alle Formatierungen die nicht anderweitig im Stylesheet vorgegeben sind?

Hi!

Ich würde nciht pauschal alle Ränder und Abstände auf 0 setzen. Das kann unerwünschte Auswirkungen haben. Wie wär's wenn Du das betreffende Dokument mal postest.

Grüße, Tobias

Hi!

Wie wär's denn bei Gelegenheit mal mit selber aktiv werden?;)

Das Sternchen ist ein sog. Selektor. * bedeutet: Notation trifft auf alle Elemente zu.

Mehr dazu in der Referenz: http://www.w3.org/TR/REC-CSS2/selector.html

Grüße, Tobias

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

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.