/    Sign up×
Community /Pin to ProfileBookmark

scroll bar within table?

Much like the one in the reply box, I was wondering what the codes were to place a scrollbar in a table cell so that it shows what’s viewable, but once scrolling down it reveals the other stuff (not changing the overall look of the page though). Sorry if this is worded badly, but I don’t know of any other way to say it. If it’s not an HTML command please let me know. Thank you.

to post a comment
HTML

5 Comments(s)

Copy linkTweet thisAlerts:
@pyroJul 08.2003 — Put a <div> inside the table cell, with a height and width set, and then set the overflow to auto, something like this:

<div style="height:200px; width:400px; overflow:auto;">Your text here</div>
Copy linkTweet thisAlerts:
@dark_182_88Mar 25.2005 — but what if you want to put it in a <td> section because the website is one big table, with <td> in it to seperate the website at different places and u only want the scrollbar for one td...i tried almost everything and it still isn't working..plz email me at [email][email protected][/email]

im still working on my website but the main layout is that: http://lebanonlinks.bravehost.com/index.html

and i want to put a scrollbar where i have written "main content here"
Copy linkTweet thisAlerts:
@phpnoviceMar 25.2005 — I see scrollbars for that "main content" stuff.
Copy linkTweet thisAlerts:
@Wart_HogMar 26.2005 — Are there any cross browser (IE) rendering problems using this code? I have:
&lt;td&gt;
&lt;div style="height: 75px; width:100%; overflow:auto;"&gt;
&lt;!-- CONTENT --&gt;
&lt;/div&gt;
&lt;/td&gt;
Thanks,

-Mike
Copy linkTweet thisAlerts:
@dark_182_88Mar 26.2005 — i tried this but i have my own html code for a scrollbar that i customized...but i want to put it in a <td> section of the table n it wont seem to work unless i use a textbox which i dont wanna use
×

Success!

Help @Jakor_Sevel 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 6.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: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

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