PDA

View Full Version : Can I place a frame within a table cell?


ggallen
11-20-2003, 06:52 PM
What I want is have a list of name with checkboxes
but be able to scroll within that list inside a table cell.

The only way I can think of is make a frame just in
that cell, but the problem is I don't/won't know the
exact x/y coordinates or the % of screen to use. As
well, Ive not used frames in real code.

Is this possible to do? Essentially, I would have a second
form just within that cell, so I would have scroll bars in
that cell.

Almost like a text area box, but with checkboxs within that
textarea.

George

adios
11-20-2003, 07:10 PM
<html>
<head>
<title>bla</title>
</head>
<body>
<input type="hidden" name="state" value="update">
<table border="1" cellpadding="0" cellspacing="2">
<tr>
<td width="200" bgcolor="steelblue"></td>
<td width="100" height="100" bgcolor="skyblue">
<div style="width:100px;height:100px;overflow:auto;">
<form style="margin:0;">
<input type="checkbox" /> Steve<br />
<input type="checkbox" /> Frank<br />
<input type="checkbox" /> George<br />
<input type="checkbox" /> Al<br />
<input type="checkbox" /> Max<br />
<input type="checkbox" /> Adolph<br />
<input type="checkbox" /> Milty<br />
<input type="checkbox" /> Betty
</form>
</div>
</td>
</tr>
</table>
</form>
</body>
</html>

ggallen
11-20-2003, 08:34 PM
THANKS.

now that's working...

George

ggallen
11-20-2003, 09:45 PM
I was able to ditch the <form>...</form> and just
use the <div>...</div> along with the styling.

George

Kor
11-21-2003, 09:45 AM
You may use an IFRAME, either...