|
|||
![]()
hallo leute, ich versuche mich seit tagen an folgendem tabellenlosen aufbau und scheitere im detail:
Aufbau: Kopf 100% Höhe 150px; Inhaltsbereich: Links und Rechts 170px; dazwischen CONTENT-Bereich variable Das hab ich soweit auch hinbekommen, aber wenn ich dann im CONTENT bereich wieder mit float etc anfange, dann wird das nichts. siehe http://www.webinform.info/testseiten...liges_menu.htm wer weiß rat. anbei der css und html code. danke! ------------------CODE ----------------------------- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/Strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de"> <head> <style type="text/css"><!-- body { font-family:Verdana; font-size:12px; background-color:#ffefde;} #title { height:150px;padding:5px;border-bottom:1px solid #000000;margin-bottom:20px; overflow:hidden;} #left, #right {width:170px; border:1px dashed red;} #left {float:left;} #right {float:right;} #content {border:1px dashed red; margin-right: 180px;} //--></style> <title>Layouten ohne Tabellen</title> </head> <body> <div id="title"> [img]bild.jpg[/img] <h1>Dreispaltiges Layout, 100% breit</h1> </div> <div id="left">MENU 1 MENU 1 MENU 1 MENU 1 MENU 1</div> <div style="border:1px dashed yellow; margin-left: 180px; height:auto;"> <div id="right">RECHTS Rechts Rechts Rechts Rechts Rechts Rechts</div> <div id="content"> <div style="background-color:#CCCCCC; "> [img]bild.jpg[/img] Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text </p> </div> </div> </div> </body> </html> |
Sponsored Links |
Sponsored Links |
|
|||
![]()
...das ist ein altbekanntes und nicht ganz einfach zu lösendes Problem.
Schau mal hier -> http://jassesnee.de/easyclear/index.html . Da gibt es einen Lösungsvorschlag. Gruß, Lars |
![]() |
Themen-Optionen | |
Ansicht | |
|
|
![]() |
||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
Joomla und CSS Layout ohne Tabellen ... | MoYo | CSS | 2 | 15.02.2007 11:19 |
css layout oder besser doch tabellen? | chrimp | CSS | 0 | 22.06.2004 16:54 |
2 Spalten Layout ohne Tabellen | creativ | (X)HTML | 2 | 12.01.2004 21:14 |
Wie am besten alte HTML Seite mit Tabellen in CSS Layout ? | Fidi | CSS | 0 | 07.01.2004 12:27 |
Layout Problem ohne Tabellen | Alex | CSS | 6 | 03.10.2003 16:26 |