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.

Background-image spiegeln

Empfohlene Antworten

Veröffentlicht

Hi!!

Ich habe ein div in dem ein menü abgebildet wird!

dieses hat ein background-image, welches gespiegelt wird!

Es soll bei einer Auflösung von 800x600 mindestens 600 hoch sein mit hintergrundbild!

So im IE5.5 passt das, im IE6 ist beim letzten Menupunkt schluss mit hintergrundbild! Warum?

#navigation{
font-family:Verdana,Arial,Helvetica;
font-size:80%;
top:110px;
width:222px;
height:100%;
min-height:600px;
float:left;
max-width:222px;
position:absolute;
padding:0px;
margin:0px;
overflow:visible;
z-index:2;
background-image:url(../bilder/bg_navframe.gif);
background-repeat:repeat;
}[/PHP]

min-height wird vom IE nicht unterstützt, vieleicht liegt es daran?

Wenn du im IE eine Mindesthöhe angeben willst, dann schreib es so als Höhe rein, dass es nur der IE interpretiert. Wenn der div Container dann zu klein ist, macht der IE den sowieso automatisch größer.

* html #navigation {

height:600px;}
max-width:222px; und width:222px; beide gleich groß? :confused: height:100%; bezieht sich immer nur auf das übergeordnete Element. Wenn du da keine Größe angegeben hast, dann füllt es nicht die ganze Seite. Schreib also ein
body{height:100%;}

noch dazu.

Hast du vieleicht einen Link? Dann kann man da bestimmt mehr zu sagen.

  • 3 Wochen später...
  • Autor

So nach einiger Zeit nochmal....

Aktueller CSS-Teil:

#navigation{
font-family:Verdana,Arial,Helvetica;
font-size:80%;
top:110px;
width:222px;
height:100% !important;
float:left;
max-width:222px;
position:absolute;
padding:0px;
margin:0px;
overflow:visible;
z-index:2;
background-image:url(../bilder/bg_navframe.gif);
background-repeat:repeat !important;

}
[/PHP]

body 100% is drin!

IE5.5 immer noch okay, IE6 zwar ein stück weiter, aber immer noch nicht bis unten wenn das div rechts daneben grösser wird!!

Das Navigation-Div sollte immer 100% des Anwendungs-Div haben!

Sorry Link gibts net weils nur auf Testserver intern drauf ist!

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.