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

Hallo zusammen ;)

habe mal eine Frage bezüglich der Formatierung in HTML.

Ich bin noch Einsteiger nur so am Rande.

Hier mein Quelltext:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>

<meta http-equiv="content-type" content="text/html; charset=windows-1250">

<meta name="generator" content="PSPad editor, www.pspad.com">

<title>Homepage von Marc Emge</title>

<style type="text/css">

html, body {

margin:0;

padding:0;

width:100%;

height:100%;

overflow:hidden;

}

}

body {

font-family:sans-serif;

}

#hintergrund {

position:absolute;

width:100%;

height:100%;

z-index:1;

#scrollbereich {

position:absolute;

top:0;

left:0;

width:100%;

height:100%;

overflow:auto;

z-index:2;

}

#inhalt {

padding:20px 100px 30px 200px;

z-index:2;

}

</style>

</head>

<body>

<h1><center>Willkommen</center></h1>

<div>

<img id="willkommen" src="willkommen.jpg" />

</div>

<table border ="0">

<tr>

<th>Auswahl:</th>

</tr>

<tr>

<td>Link zur Seite 1</td>

</tr>

<tr>

<td>Link zur Seite 2</td>

</tr>

</table>

</body>

</html>

Jedoch erscheint meine Tabelle unter meinem eingefügtem Bild :(

Wie binde ich den Text so ein, dass mein Bild den kompletten Hintergrund ausfüllt und

der Text(Tabelle) über das Bild geschrieben wird??

Danke schonmal vorab..freue mich auf Antworten :)

  • Autor

Danke für deine schnelle Antwort. Habe nur ein Problem mit dem Pfad zu meinem Bild.

Das Bild liegt im selben Ordner wie die .htm-Datei.

<body style="background-image: ??

Was muss ich dann als Pfad eintragen? Habe ja keine URL.

Ansonsten kenne ich nur die Variante "img src", aber dann habe ich es nicht als Hintergrund.

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.