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.

Html Seite bei jeder auflösung gleich aussehen lassen

Empfohlene Antworten

Hi ich habe da folgendes Problem

ich mochte eine Page aufbauen die ohne Frames arbeitet.

und einen Layer so positionieren das er egal bei welcher Auflösung immer an der gleichen stelle bleibt. Kann mir jemand sagen ob bzw. wie das geht ?

schon mal merci im voraus

du kannst layer genauso über center, right, etc platzieren wie tabellen o.ä.

was du nicht machen darfst, ist einen layer pixel gebunden einzurichten. andernfalls musst du mit tabellen arbeiten.

wo willlst du den layer positionieren?

immer am rechten rand? immer links?....

.

.

.

im allgemeinen, wenn eine seite auflösungsunabhängig sein soll, arbeitet man mit Prozent angaben.

Der layer soll immer einen bestimmten abstant zum rand haben ich werd das mal so versuchen schon mal danke


<html><head><title>position</title>

<style type="text/css">

<!--

#layer1 { position:absolute; top:10px; left:10px; width:150px; height:150px; z-index:1; }

-->

</style>

</head>

<body bgcolor="FFFFFF" text="#000000">


<div id="layer1" style="background:red; border:solid 2px blue;">box1</div>


</body></html>


siehe:

http://gd.tuwien.ac.at/languages/html/selfhtml/css/eigenschaften/positionierung.htm#position

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.