|
|||
Divs in Div
Hallo!
Ich hab ein Problem. dass wahrscheilich leicht zu lösen ist.. Ich habe 2 div boxen, die in einem anderen div element wohnen. Jetzt will ich das die 1. innere box am linken rand und die 2. innere box am rechten rand klebt. Wie mach ich das? |
Sponsored Links |
|
|||
Am einfachsten geht das wohl mit absoluter Positionierung:
Beispiel: Code:
#aussen { position:relative; width:500px; height:400px } #links { position:absolute; left:0; width:100px } #rechts { position:absolute; right:0; width:100px }
__________________
>> Linux is like a wigwam: no windows, no Gates, Apache inside. << |
Sponsored Links |
Themen-Optionen | |
Ansicht | |
|
|
Ähnliche Themen | ||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
DIVS nebeneinander -> border-bottom läuft in anderes DIV, Text aber nicht. | plegox | CSS | 2 | 24.05.2011 16:57 |
Div Wight Auto???? | temp11 | CSS | 8 | 30.06.2009 13:34 |
relative divs / content div im quelltext nach oben / seo | luw | CSS | 6 | 26.09.2005 14:41 |
Vertikale Ausrichtung eines DIVs in einem dynamischen DIV | vamac | CSS | 7 | 15.08.2005 14:10 |
1 div links, 2 div's untereinander daneben | jensr | CSS | 9 | 01.07.2004 00:41 |