|
|||
2 DIVs parallel vergrößern
Hallo an alle !
Ich habe 2 DIV-Container nebeneinander. In dem linken ist statischer Inhalt (Ein Menü). In dem rechten ein weiterer DIV-Container mit Text. Wenn ich nun vieeeeeeeel Text in den Text-Container eingebe, wird der rechte Container mit größer (margin-bottom). Ich will aber nun, dass der Menü-Container auch mitwächst. Mein Lösungsansatz funktioniert aber nicht ! http://xhtmlforum.de/images/x_editor/htmlcode.gif <div id="main"> <div id="menu"><div id="menulist"><ul>...</ul></div></div> <div id="content"> <div id="text"></div> </div> </div> http://xhtmlforum.de/images/x_editor/htmlcode.gif http://xhtmlforum.de/images/x_editor/code.gif #main { float: left; min-height: 568px; } #menu { float: left; background-color: #ccc; height: 100%; width: 167px; border-right: solid 1px #666; border-top: solid 1px #666; } #content { float: left; background-color: #999; height: 100%; width: 568px; border-left: solid 1px #ccc; border-top: solid 1px #666; } #text { width: 400px; margin-left: 30px; margin-top: 30px; margin-bottom: 30px; min-height: 500px; overflow: hidden; } http://xhtmlforum.de/images/x_editor/code.gif Habt ihr ne Idee ? Jonas |
Sponsored Links |
Themen-Optionen | |
Ansicht | |
|
|
Ähnliche Themen | ||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
DIV je nach Größe eines darinliegenden DIVs vergrößern | Merlin123 | CSS | 18 | 18.08.2009 09:46 |
Browser Zoom - Divs vergrößern sich nicht mit | mathias81 | CSS | 19 | 04.08.2009 09:58 |
3 Divs (untereinander) parallel mit 3 Divs (untereinander) | SimonK. | CSS | 16 | 19.02.2009 09:56 |
Divs nebeneinander, aber mittig | RomanM | CSS | 2 | 24.10.2007 07:32 |
Div's vergrößern sich im Firefox nicht! | SvartfaR | CSS | 2 | 29.09.2006 09:14 |