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-Bug im IE?

Empfohlene Antworten

Hallo Leute,

mich nervt der IE mal wieder.

Also ich habe folgende HTML-Seite (diese ist nur ein Testkonstrukt und hat im RL keinen praktischen Nutzen)


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>

<head>

	<title>Der IE ist doof</title>

</head>


<body >

<div style="border: 1px solid; width: 150px; height: 150px; overflow: scroll;">

	<p style="position: relative; top: 0px; left: 10px;">

		TEXT

	</p>

	<hr />

	<p style="position: relative; top: 0px; left: 10px;">

		TEXT

	</p>

	<hr />

	<p style="position: relative; top: 0px; left: 10px;">

		TEXT

	</p>

	<hr />

	<p style="position: relative; top: 0px; left: 10px;">

		TEXT

	</p>

	<hr />

	<p style="position: relative; top: 0px; left: 10px;">

		TEXT

	</p>

	<hr />

	<p style="position: relative; top: 0px; left: 10px;">

		TEXT

	</p>

</div>

</body>

</html>

Kurz zusammengefasst ist das Problem folgendes:

Der IE nimmt relativ positionierte Elemente innerhalb eines Elementes mit der Eigenschaft "overflow: scroll;" aus dem Scrollen heraus. Die Elemente werden dann als eine Art Overlay über die Seite gelegt. Sie werden aber auch garnicht mehr mitgescrollt.

Für den IE gehört also ein relativ positioniertes Element nicht mehr zu seinem eigentlichen Elternelement.

Der Firefox und Opera machen das nicht und meiner Ansicht nach ist das falsch, was der IE hier macht.

Wenn das ein Bug ist, wo kann man sowas bei Microsoft melden?

Der Firefox und Opera machen das nicht und meiner Ansicht nach ist das falsch, was der IE hier macht.

Wenn das ein Bug ist, wo kann man sowas bei Microsoft melden?

setz einfach mal

<?xml version="1.0"?>

als erste Zeile deines Dokuments, dann klapts auch mit dem IE ;)

gut zu wissen, danke.

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.