![]() |
![]() |
|
|
|||||||
| Programmierung Rat & Tat für Programmierer |
|
|
Themen-Optionen | Ansicht |
|
|
#14 |
|
Inventar
![]() Registriert seit: 13.06.2001
Beiträge: 1.830
|
...vorausgesetzt auch der Container hat position:absolute;
Der Witz an position:absolute; ist nämlich, daß alles absolut zum nächsten Eltern-Element ausgerichtet wird, daß auch position:absolute hat. Code:
<div style="position: absolute; right: 0px; bottom: 0px;"> <div style="position: absolute; left: 0px; top:0px;">Der innere Div sollte in der rechten unteren Ecke sein, obwohl er absolut links oben ausgerichtet ist. </div> </div> jak
____________________________________
Join the DNRC | Godwin\'s Law (thx@stona) Documentation is like sex: If it\'s good, it\'s very, very good. If it\'s bad, it\'s better than nothing. \"In theory, theory and practice are the same. In practice, they are not\" (Lawrence Berra) |
|
|
|
| Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1) | |
|
|