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.

Container 100%

Empfohlene Antworten

Veröffentlicht

Moin ich hab ein Problem bei meiner Darstellung und zwar ist das sidebar_menu nicht auf 100% height ausgedehnt. Zwar kann ich es auf 100% ausdehnen wenn ich in allen übergeordneten containern 100% height zuweise, aber dann fehlt der bottom border und noch weitere kleine Sachen.


/* ### -- -- -- -- GLOBAL -- -- -- -- ### */

HTML, BODY { background-color: #f4f4f4; height:100%;}

IMG{ border: none; margin: 0px; padding: 0px;}

/* ### -- -- -- -- EOF -- -- -- -- ### */


/* ### -- -- -- -- div's -- -- -- -- ### */

div#all{ width:900px; border: none; margin: 0px; padding: 0px; }

div#main{ float: left; width:900px;  border: 1px solid #666; margin-top: 20px;  margin-bottom: 20px;   

          font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 13px; text-align: left; color: #666; }

div#header{ float: left; width: 900px; height: 120px; background-image: url("images/header_body.jpg"); border-bottom :1px solid #666 ;}

div#content{ float: right; width: 770px;  background-color: #f5f5f5; height :100%;}  

/* ### -- -- -- -- EOF -- -- -- -- ### */             


/* ### -- -- -- -- sidebar_menu -- -- -- -- ### */   

.sidebar_menu{ float: left; width: 130px; height: 100%; margin: 0px; padding: 0px; background-image: url("images/sidebar_body.png");  }

.sidebar_menu a{ width:114px; height:98px; display: block; color: #094289; text-decoration: none; }

.sidebar_menu .hover:hover{ color: #000000; background-image: url("images/sidebarHover.png"); }

.sidebar_menu .active{ width:111px; height:96px; display: block; color: #ffffff; background-image: url("images/sidebarActive.png"); }

.sidebar_menu img{ margin-top: 20px;}

/* ### -- -- -- -- EOF -- -- -- -- ### */ 

willkommen in der Welt von "was kann HTML nicht" und "was kann CSS nicht" :)

es gibt aber auch in der breite keine möglichkeit, % und pixel zu vermischen.

Joa ich hab es jetzt aber durch ein wenig tricksen hinbekommen. Ist zwar nicht genau das was ich ürsprünglich wollte erfüllt jedoch vollkommen seinen Zweck.

Für alle die es interessiert:


/* ### -- -- -- -- GLOBAL -- -- -- -- ### */

HTML, BODY { background-color: #f4f4f4; height:100%;}

IMG{ border: none; margin: 0px; padding: 0px;}

/* ### -- -- -- -- EOF -- -- -- -- ### */


/* ### -- -- -- -- div's -- -- -- -- ### */

div#all{ width:900px; border: none; margin: 0px; padding: 0px; }

div#main{ float: left; width:900px;  border: 1px solid #666; margin-top: 20px;  margin-bottom: 20px; background-image: url("http://forum.fachinformatiker.de/images/sidebar_body.png");  

          background-repeat: repeat-y; font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 13px; text-align: left; color: #666; }

div#header{ float: left; width: 900px; height: 120px; background-image: url("http://forum.fachinformatiker.de/images/header_body.jpg"); border-bottom :1px solid #666 ;}

div#content{ float: right; width: 770px;  background-color: #f5f5f5; height :100%;}  

/* ### -- -- -- -- EOF -- -- -- -- ### */             


/* ### -- -- -- -- sidebar_menu -- -- -- -- ### */   

.sidebar_menu{ float: left; width: 130px; height: 100%; margin: 0px; padding: 0px; background-image: url("http://forum.fachinformatiker.de/images/sidebar_body.png");  }

.sidebar_menu a{ width:114px; height:98px; display: block; color: #094289; text-decoration: none; }

.sidebar_menu .hover:hover{ color: #000000; background-image: url("http://forum.fachinformatiker.de/images/sidebarHover.png"); }

.sidebar_menu .active{ width:111px; height:96px; display: block; color: #ffffff; background-image: url("http://forum.fachinformatiker.de/images/sidebarActive.png"); }

.sidebar_menu img{ margin-top: 20px;}

/* ### -- -- -- -- EOF -- -- -- -- ### */ 

Für alle die es interessiert:


HTML, BODY { background-color: #f4f4f4; height:100%;}

Das ist ein eher mieser Hack (Trick), denn wenn du mal ein Bild als Hintergrund benutzt (bei einfarbigem BG bin ich grad nicht sicher) und du einen Textinhalt der Seite hast, der über das untere Ende raus geht, du also scrollen musst, sieht das gar nicht mehr so schön aus wie man sich das auf den ersten Blick denkt ;)

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.