|
|||
Fusszeile einfuegen
Hallo zusammen,
ich habe versucht, in dieses dreispaltige Layout einen Footer zu intergrieren, der sich immer am unteren Rand der Seite befindet: Code:
HTML: <!DOCTYPE HTML> <html> <head> <title> Fotografie </title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link href="../Homepage/layout_mit_rahmen.css" rel="stylesheet" type="text/css" media="screen" /> </head> <body> <div id="links"> <div id="links_innen"> </div> </div> <div id="mitte"> </div> <div id="rechts"> <div id="rechts_innen"></div> </div> <div id="fusszeile"> </div> </body> </html> CSS: @charset "utf-8"; /* CSS Document */ body { margin:0; padding:0; min-width:760px; } p { padding:20px; } #links , #rechts { width:50%; } #links { float:left; height: 736px; background-image: url(Webseite_Layout_mitte_ein_block_01.png); background-color: #0F0; background-repeat: repeat-x; } #rechts { float:right; height: 736px; background-image: url(Webseite_Layout_mitte_ein_block_03.png); background-color: #00F; background-repeat: repeat-x; } #links_innen { margin-right:490px; } #recht_innen { margin-left:490px; } #mitte { position:relative; margin-left:-490px; margin-right:-490px; width:980px; float:left; height: 736px; background-image: url(Webseite_Layout_mitte_ein_block_02.png); background-repeat: no-repeat; background-color: #FF0; } #fusszeile { clear:both; position:fixed; bottom:0px; margin-top:0px; text-align:left; padding:30px; background-image: url(Webseite_Layout_mitte_ein_block_04.png); background-repeat: repeat-x; background-color: #F00; padding-left: 20px; } } /* Für IE 6 */ * html #links, * html #rechts { width:49.9%; float:left; } /* Für IE 7 */ *+ html #links, *+ html #rechts { width:49.9%; float:left; } </style> Kann mir bitte jemand einen Tip geben, wie ich das umsetzen muss ? Vielen Dank und Gruss Joern |
Sponsored Links |
|
|||
Ich habe jetzt eine so grosse Breite fuer die Fusszeile definiert, dass sie breit genug fuer alle Viewport-Groessen ist. Jetzt muss ich innerhalb des Footers Text so plazieren, dass er links- und rechtsbuendig zu dem drueber befindlichen DIV 'Mitte' steht. Die beiden divs 'Rechts' und 'Links sollen nur zum Fuellen dienen, wenn das Browserfenster breiter als der Mitte-DIV ist.
Wie stelle ich das am besten an ? Vielen Dank und Gruss Joern |
|
||||
Aber Manfred, kannst du nicht auch alles vor deinem inneren Auge sehen? *scnr*
__________________
Hier ein immer gültiges Statement: Überarbeite deine Code, lerne die Grundlagen, widersprich mir nicht, wehre dich nicht, ich habe Recht, wir sind Lolgion, wir sind viele.. potato... All meine Angaben sind ohne Gewähr, es könnte also trotz meiner Unfehlbarkeit dazu kommen dass ich falsch liege www.richard-thiel.de | Müssen Websiten überall gleich ausschauen? |
|
|||
Vielen Dank fuer die Antwort von Manfred62. Wenngleich ich noch nicht ganz verstanden habe. Ich setze also fusszeile auf 100 %. Und dann erzeuge ich fusszeile_innen mit width und margin auto ?
Ich bitte um etwas Nachsicht, dass ich den Hinweis nicht sofort verstehe. Ich habe eine Testseite auf Testseite online gestellt. Vielen Dank und Gruss Joern |
|
|||
Zitat:
Code:
} #fusszeile { padding: 30px 0; text-align: left; width: 100%; } Gruß, Roland |
Sponsored Links |
|
|
Ähnliche Themen | ||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
Fusszeile spezial! | kasi | CSS | 8 | 25.06.2009 14:05 |
Fußzeile | CL90 | CSS | 5 | 10.04.2009 18:03 |
IE: div-Box rutscht in die Fußzeile | mux | CSS | 12 | 06.11.2008 20:59 |
fusszeile im html file ohne frame | berndw | CSS | 6 | 10.11.2006 12:56 |
Positionierung einer nicht scrollbaren Fusszeile | hyperterminal | CSS | 2 | 14.09.2005 21:41 |