joerns
Goto Top

HTML - Helft dem Tabellen-Fanatiker beim Umbau seiner Seite in Div

*grübel* Irgendwie hat sich der Text verflüchtigt... Naja dann halt nochmal...

Also ich will mir ein Layout basteln. Normalerweise mache ich das ja mit Tabellen, doch jetzt habe ich div's und span's ausprobiert und bin kläglich gescheitert. Deshalb: Kann mir jemand nach dem Bild ein Layout machen?. Danke!

62f6a22adf9134eb3bc432aa1029bccf-layout

(in die grünen Rahmen kommen 2 Iframes)

js

Content-Key: 53809

Url: https://administrator.de/contentid/53809

Printed on: April 25, 2024 at 14:04 o'clock

Member: Dani
Dani Mar 11, 2007 at 21:18:43 (UTC)
Goto Top
G' Abend,
warum willst du das Layout in DIV machen und danach bügelst wieder "Frames" rein. Ist nicht wiklich der Sinn davon. Somit kannst du gleich bei der Tabelle bleiben.


Grüße
Dani

PS: Nicht persönlich nehmen!!!
Member: milka
milka Mar 12, 2007 at 14:30:11 (UTC)
Goto Top
Tach!


Versuchs mal so:


<div style="width:700px; height:100%">
<div style="width:700px; height:30px; background-color:#f00">oben</div>
<div style="width:200px; height:100%; float:left; background-color:#0f0">links</div>
<div style="width:500px; height:100%; float:right; background-color:#00f">rechts</div>
<div style="width:700px; clear:both; height:30px; background-color:#ff0">unten</div>
</div>


Micha
Member: joerns
joerns Mar 14, 2007 at 16:29:30 (UTC)
Goto Top
Dani: Iframes sind lustig :D

Micha: Nee so funktioniert das ja grade net. Das hab ich auch schon probiert aber werder ff noch ie will...

js
Member: milka
milka Mar 14, 2007 at 16:43:26 (UTC)
Goto Top
Also bei mir klappt das so...

Oder was ist das Problem bei meiner Lösung?
Was haut denn nicht hin?


Micha
Member: joerns
joerns Mar 14, 2007 at 16:44:25 (UTC)
Goto Top
Also bei mir is die Seite eindeutig größer als 100%...
Member: milka
milka Mar 14, 2007 at 16:47:21 (UTC)
Goto Top
Dann mach halt noch ein <div> mit definierter Höhe drumherum...
Dann darf es nicht mehr als 100% werden...


Micha
Member: joerns
joerns Mar 14, 2007 at 16:49:30 (UTC)
Goto Top
ja aber da is doch schon ein Div?
Member: milka
milka Mar 14, 2007 at 17:44:47 (UTC)
Goto Top
Okay, nächster Versuch...
Diesmal mit absoluter Positionierung...


<div style="position:absolute; top:0px; left:0px; height:30px; width:700px; background-color:#f00">oben</div>
<div style="position:absolute; top:30px; left:0px; bottom:30px; width:200px; background-color:#0f0">Links</div>
<div style="position:absolute; top:30px; bottom:30px; left:200px; width:500px; background-color:#00f">Rechts</div>
<div style="position:absolute; bottom:0px; left:0px; height:30px; width:700px; background-color:#ff0">Unten</div>
Member: joerns
joerns Mar 15, 2007 at 20:04:08 (UTC)
Goto Top
Ich geb's auf... Nee das will alles net so wie ich will....
Ich nehm Tabellen :D...
Member: Dani
Dani May 04, 2007 at 06:14:39 (UTC)
Goto Top
Guten Morgen,
sry...ich lasse den Status mal auf "ungelöst" stehen. Schaden kann es sicher nicht. Oder soll ich den Beitrag als "gelöst" markieren?!


Gruß
Dani
Member: joerns
joerns May 04, 2007 at 20:38:53 (UTC)
Goto Top
Naja, es gibt doch ne Lösung:
Es geht net^^