Sie sind nicht angemeldet.
crushcoder
God
Gott hat die Welt ja nur in sieben Tagen erschaffen können, weil es keine installierte Basis gab.
crushcoder
God
Gott hat die Welt ja nur in sieben Tagen erschaffen können, weil es keine installierte Basis gab.
![]() |
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 |
.text{ padding:60px; margin:5px; border:1px solid black; height:100%; margin-top:0; margin-bottom:0; margin-right: auto; margin-left: auto; width:550px; } |
![]() |
Quellcode |
1 2 3 4 5 |
<div style="text-align: center;"><!-- oder ein anderes Elternelement, dass den Inhalt zentriert --> <div style="margin: 0 auto;"><!-- Setzt oben/unten kein Margin, rechts/links auf auto; geht auch z.B. bei <table> statt <div> --> Der eigentliche Inhalt kommt hier hin. </div> </div> |
crushcoder
God
![]() |
Quellcode |
1 2 3 4 5 6 7 8 9 |
<html> <head /> <body style="margin:0; padding:0"> <div style="background-color:#dddddd; height:100px;">²</div> <div style="background-color:#ff0000; position:absolute; top:100px; bottom:0px; left:0px; right:0px; ">²</div> </body> </html> |
![]() |
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 |
<html> <head /> <body style="margin:0; padding:0"> <div style="background-color:#dddddd; height:100px;">²</div> <div style="background-color:#ff0000; position:absolute; top:100px; bottom:0px; left:0px; right:100px; float:right;"> The quick brown fox jumps over the lazy dog<br/> The quick brown fox jumps over the lazy dog<br/>The quick brown fox jumps over the lazy dog<br/>The quick brown fox jumps over the lazy dog<br/>The quick brown fox jumps over the lazy dog<br/>The quick brown fox jumps over the lazy dog<br/>The quick brown fox jumps over the lazy dog<br/>The quick brown fox jumps over the lazy dog<br/>The quick brown fox jumps over the lazy dog<br/>The quick brown fox jumps over the lazy dog<br/>The quick brown fox jumps over the lazy dog<br/>The quick brown fox jumps over the lazy dog<br/>The quick brown fox jumps over the lazy dog<br/>The quick brown fox jumps over the lazy dog<br/>The quick brown fox jumps over the lazy dog<br/>The quick brown fox jumps over the lazy dog<br/>The quick brown fox jumps over the lazy dog<br/>The quick brown fox jumps over the lazy dog<br/>The quick brown fox jumps over the lazy dog<br/>The quick brown fox jumps over the lazy dog<br/>The quick brown fox jumps over the lazy dog<br/>The quick brown fox jumps over the lazy dog<br/>The quick brown fox jumps over the lazy dog<br/>The quick brown fox jumps over the lazy dog<br/>The quick brown fox jumps over the lazy dog<br/>The quick brown fox jumps over the lazy dog<br/>The quick brown fox jumps over the lazy dog<br/>The quick brown fox jumps over the lazy dog<br/>The quick brown fox jumps over the lazy dog<br/></div> <div style="background-color:#ffcc00; position:absolute; top:100px; right:0px; width:100px; bottom:0px;">²</div> </body> </html> |
Gott hat die Welt ja nur in sieben Tagen erschaffen können, weil es keine installierte Basis gab.
-