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.

Warum ist da ein Scrollbar.... ?

Empfohlene Antworten

Veröffentlicht

Tach auch

Bastel gerade ein bisschen rum, eigentlich ist es mehr unkontrolliertes probieren ;)

Und jetzt frage ich mich warum ich an der Seite einen Scrollbar habe, und wie ich den ggf. wegbekomme. Denn die Seite ist ja nicht so groß...

Aktuelle Auflösung: 1152x864

hintergrund.jpg: 1024x768

banner_oben: 800x50

Quellcode:

<html>

<head/>

<body style="background-image:url(img/hintergrund.jpg); background-position:center top; height:100%; background-repeat:repeat-x; background-attachment:fixed">

<center>

<table border="1" width="800" heigth="600">

<!-- Banner Oben -->

<tr>

<td colspan="2" heigth="50" width="100%"><img src="img/banner_oben.jpg"</td>

</tr>

</table>

</center>

</table>

</body>

</html>

Hat jemand ne Ahnung?!

Thx und Grüße

<html>

<head/>

<body style="[...]height:100%; [...]">

[...]

</html>

Den body auf 100% Höhe zu setzen, macht ihn so hoch wie das Fenster (wobei Größenänderungen wenn die Seite geladen ist nicht berücksichtigt werden). Standardmäßig hat der Body aber auch einen Margin und ein Padding (damit ist der Body also so hoch wie das Fenster, aber durch den Rand eben aus dem Fenster verschoben leicht). Also wenn es schon height: 100% sein muss (is ja auch nur so n Hack, aber zum Thema Height 100% findest du auch hier im Forum ne Menge Diskussionen :D ), dann:


<body style="height: 100%; padding: 0; margin: 0;"...

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.