Forum Moderators: open

Message Too Old, No Replies

HTML code

For making scroll bar in a table cell

         

Roadkill

6:22 pm on Jul 18, 2005 (gmt 0)

10+ Year Member



I would like to have a table cell in the middle of my page have a scroll bar. I have seen a couple of options. But was hoping there was a simple code That I could paste that would work on IE, Mozilla and other browsers.

Is there such an animal?

Trace

6:59 pm on Jul 18, 2005 (gmt 0)

10+ Year Member



Is an iFrame all you are looking for?

Does something like this suit your needs?
Try putting this in the cell you want:
<iframe src="http://www.google.com" width="100%" height="100%"></iframe>

Kind of like this:

<table width="100%" border="1">
<tr>
<td colspan=3>a</td>
</tr>
<tr>
<td width="33%">b</td>
<td width="34%"><iframe src="http://www.google.com" width="100%" height="100%"></iframe></td>
<td width="33%">c</td>
</tr>
<tr>
<td colspan=3>d</td>
</tr>
</table>

If this isn't what you're looknig for, let me know.

Roadkill

7:17 pm on Jul 18, 2005 (gmt 0)

10+ Year Member



I was hoping to avoid using an inline framed page. So I was looking for something simple that would work on the most popular browsers.

Longhaired Genius

7:38 pm on Jul 18, 2005 (gmt 0)

10+ Year Member



Experiment with the CSS "overflow" property on the table cell or a div within it. Try "auto" and "scroll".

[w3.org...]

(Won't work on IE 5.)