Click to See Complete Forum and Search --> : table scroll
florida
03-21-2003, 01:35 PM
I need to put a scrollbar in my table. I assume I can only do this in IE because it involves styles and I have IE 5.5 and Netscape 4.
I have a table with many rows and want to add a scrollbar so I can scroll in the window.
I assume I need to use <div>.
Please advise and suggest how I can do this? I have seen it done but cant remember how???
<div scroll: yes>
<table>
<tr>
<td>
</td>
</tr>
<tr>
<td>
</td>
</tr>
etc..
</table>
khaki
03-21-2003, 02:03 PM
Hi Florida...
Here is a basic and simple example (just to give you the idea).
Is this what you are looking for?
(by the way... Netscape7 like this too. I have no idea about previous versions)
k
<html>
<head>
<title></title>
</head>
<body>
<table border=1>
<tr><td>row 1</td></tr>
<tr>
<td>
<div style="width: 250px; height: 50px; overflow:auto">
I need to put a scrollbar in my table. I assume I can only do this in IE because it involves styles and I have IE 5.5 and Netscape 4.
I have a table with many rows and want to add a scrollbar so I can scroll in the window.
I assume I need to use div.
Please advise and suggest how I can do this? I have seen it done but cant remember how???
</div>
</td>
</tr>
<tr><td>row 2</td></tr>
</table>
</body>
</html>
florida
03-24-2003, 06:25 AM
Thanks, that works great in IE but how can I do it in Netscape 4?
khaki
03-26-2003, 03:03 PM
Yikes!
Netscape 4!!!
I don't think that N4 understands style AT ALL (but I'm not sure because I wasn't alive yet when that browser was popular. lol) ;)
Really... I don't think you can use style this way with N4 (but I'm sure that someone out there can offer something more definitive than my lame guess). sorry.
believes in the existence of dinosaurs... but not N4...
k