/    Sign up×
Community /Pin to ProfileBookmark

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>

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@khakiMar 21.2003 — 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>
Copy linkTweet thisAlerts:
@floridaauthorMar 24.2003 — Thanks, that works great in IE but how can I do it in Netscape 4?
Copy linkTweet thisAlerts:
@khakiMar 26.2003 — 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
×

Success!

Help @florida spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...