Supportnet / Forum / Webseiten/HTML
Innerhalb einer Tabelle scrollen
Frage
Hallo Leute,
ne kleine Frage:
ich habe ne Tabelle wie folgt:
[code]
<table><tr>
<td> Teil 1</td>
<td>Teil 2 soll scrollbar sein</td>
</tr></table>[/code]
Ich möchte, das Teil 1 stehen bleibt, und Teil 2 scrollbar ist. Also ca. so, als ob ich Frames hätte.
Ist das möglich? Falls ja, wie?
Opa
Antwort 1 von lotti karotti
Hallo,
versuch das mal
<table><tr>
<td> Teil 1</td>
<td>
<div class="textkasten">
Teil 2 soll scrollbar sein,
Teil 2 soll scrollbar sein,
Teil 2 soll scrollbar sein,
Teil 2 soll scrollbar sein,
Teil 2 soll scrollbar sein,
</div></td>
</tr></table>
--------css style-----------
div.textkasten {
width:...;
height:...;
overflow:auto; }
im css breite und höhe eintragen und denne sollte das funktionieren,
gruß
versuch das mal
<table><tr>
<td> Teil 1</td>
<td>
<div class="textkasten">
Teil 2 soll scrollbar sein,
Teil 2 soll scrollbar sein,
Teil 2 soll scrollbar sein,
Teil 2 soll scrollbar sein,
Teil 2 soll scrollbar sein,
</div></td>
</tr></table>
--------css style-----------
div.textkasten {
width:...;
height:...;
overflow:auto; }
im css breite und höhe eintragen und denne sollte das funktionieren,
gruß

