Fahrtenbuch genial!
-


Hinweise


Antwort
 
LinkBack Themen-Optionen Thema durchsuchen Thema bewerten
Alt 31.01.2006, 12:46   #1
TP-Member
 
Registriert seit: Aug 2004
MrDevil macht alles soweit korrekt

Content und Nav auf 100%


Hallo:
ich möchte das unabhängig vom Text die Navigationspalte und der Contetn immer 100% sind von oben nach unten - ergo immer unten am rand aufliegt
Nur mit height:100% gehts nicht ;(

Code:
<style type="text/css">
/* <![CDATA[ */

/* Gleichberechtigung für alle Browser */
* {
margin:0;
padding:0;
border:0
}


html,body {
font:.9em/1.3em Georgia, Verdana, Arial, Helvetica, sans-serif;
background:#E4E4C9;
color:#555;
text-align:center
}


/* Umhüllt die komplette Seite */
div#wrapper {
text-align:left;
margin-right:470px;
position:fixed; 
}


/* Der Header */
div#header {
width:100%;
height:100px;
text-align:center;
padding-top:20px;
background:#C5C58B
}


/* Die Navigation */

div#menu {
width:170px;
float:left;
}

div#menu ul li {
margin:10px 10px 0;
line-height:22px;
list-style:none;
margin-bottom:2px;
text-align:center;
border:1px solid #FFF;
}

div#menu ul li a {
display:block;
width:100%;
color:#555;
background:#F2F1D9;
text-decoration:none;
}

div#menu ul li a:hover {
color:#F2F1D9;
background:#555;
}


/* Der Inhalt */

div#content {
position:relative;
margin-left:170px;
padding:10px;
background:#FFF;
border-left:2px solid #C5C58B;
}

div#content h1 {
font-size: 1.3em;
color:#000;
margin-bottom:20px;
border-bottom:1px solid #000
}

div#content h2 {
font-size: 1.1em;
margin:15px 0;
}

.clear-left {
clear:left; /* Wer float sagt, muss auch clear sagen */
font-size:1px; /* Damit das Ganze unsichtbar bleibt */
}

/*]]>*/
</style>
MrDevil ist offline   Mit Zitat antworten


Alt 31.01.2006, 12:53   #2
ingo
Guest
 
http://tuts.nicogutmann.de/css/div_hundert.php
  Mit Zitat antworten
Antwort

  Aktuelles Thema
  TP Hilfe Forum > Web-Editoren & Coding > HTML Puristen > CSS
Content und Nav auf 100% Content und Nav auf 100%
« Externe CSS-Datei aus rückliegendem Ordner auslesen | CSS-Validation (Jigsaw) »

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 
Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an
Gehe zu


Alle Zeitangaben in WEZ +2. Es ist jetzt 14:14 Uhr.

Powered by: vBulletin Version 3.7 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. / Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Traum-Projekt.com | Suchen | Archiv | Impressum | Kontakt | | | Nach oben |



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67