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.

CSS fixed unter IE6

Empfohlene Antworten

Moin,

ich hab einen Container für meinen Hintergrund erstellt. Dieser beinhaltet ein Hintergrundbild, welches mit background-attachment: fixed; fixiert wurde.

Das ganze funktioniert auch beim Firefox, nur beim IE6 nicht.

Selfhtml.org konnte mir nicht weiterhelfen... .

Was kann ich noch machen?

Den Qu(ä)ellcode kann ich nicht hier reinstellen, der ist zu groß...

maximal für den Container

#contentimp {

background-image: url(../images/h1.gif);

background-position: center;

background-repeat: no-repeat;

background-attachment: fixed;

margin: 0px;

padding: 19%;

height: 820px;

}

Gruß Alex

Das Problem ist, das der IE die Angabe background-attachment nur im body-Element richtig interpretiert.

Lösen lässt sich das ganze wohl mit JavaScript. Näheres dazu findest du hier: background-attachment

tine

Eigentlich wollte ich auf JavaScript verzichten, aber es löst mein Problem.

Super Danke!

Alex

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.