|
|||
![]()
Hallo Community,
ich habe ein Problem und komme einfach nicht dahinter. Ich möchte gerne den roten DIV-Container ("Roter Block") zentriert haben. Was mache ich falsch? HTML-Code:
<html> <head> </head> <body> <div style="text-align:center;line-height:100%;width:100%;height:100%;"> <div style="width:100%;min-height:200px;background-color:#ffffff;"> Mittiger Text <div style="width:300px;background-color:#ff0000;height:100px;"> Roter Block </div> </div> </div> </body> </html> esehis |
Sponsored Links |
![]() |
Themen-Optionen | |
Ansicht | |
|
|
![]() |
||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
DIV Höhe 100% | Daniel86 | CSS | 12 | 29.07.2011 13:40 |
Fragen zu CSS und Joomla | DOKTOR | CSS | 2 | 23.05.2011 20:29 |
Zwei div container nebeneinander? | hattori_hanzo | CSS | 2 | 08.03.2011 18:27 |
div mit css über andere elemente platzieren | ping | CSS | 6 | 20.08.2009 14:54 |
div container nebeneinander platzieren | müsli | CSS | 4 | 11.11.2007 17:14 |