ich hab das problem das meine linke Navi nicht angezeigt wird; wenn ich jedoch als height:100px eingebe wird sie angezeigt. Ich möchte aber das die navi bis nach unten reicht, also sich dem inhalt anpasst....
jemand ne idee wie ich das hinbekommen kann?
mein index.html:
HTML-Quellcode
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html>
- <head>
- <link rel="stylesheet" type="text/css" href="style.css">
- <title>.::TraveXaS' Web::.</title>
- </head>
- <body>
- <div id="container">
- <div id="banner"></div>
- <div id="hauptnavi_links"></div>
- </div>
- </body>
- </html>
und hier die style.css
Quellcode
- /*
- Verwendete Farben:
- #000000 =black
- #6495ed
- #8aaff1
- #b0c9f5
- #d8e4fa
- #ffffff =white
- */
- /*######################################################*/
- html, body {
- background-color: #ffffff;
- margin:0;
- padding:0;
- height:100%;
- }
- /*######################################################*/
- #banner {
- width: 100%;
- height: 120px;
- background-color: #d8e4fa;
- border-bottom: #6495ed groove 3px;
- }
- /*######################################################*/
- #hauptnavi_links {
- margin-left: 0;
- width: 150px;
- height: auto;
- background-color: #d8e4fa;
- border-right: #6495ed groove 3px;
- }
- /*######################################################*/