|
-
Apr 12th, 2011, 01:20 PM
#1
Thread Starter
PowerPoster
[RESOLVED] Scrolling HTML Table?
Is it possible to make a HTML Table be able to scroll? I just need it to scroll horizontally.
Thanks,
-
Apr 12th, 2011, 01:23 PM
#2
Hyperactive Member
Re: Scrolling HTML Table?
Put it inside a scrollable div
-
Apr 12th, 2011, 01:26 PM
#3
Thread Starter
PowerPoster
Re: Scrolling HTML Table?
would I use style or is their an attribute for the DIV Element?
-
Apr 12th, 2011, 01:43 PM
#4
Hyperactive Member
Re: Scrolling HTML Table?
something like this:
Code:
<div style="width: 500px; height: 500px; overflow: auto;">
This gives you scrollbars vertical and horizontal. If you want just horizontal, use an asp anel and set the scrollbar property there.
-
Apr 12th, 2011, 02:52 PM
#5
Thread Starter
PowerPoster
Re: Scrolling HTML Table?
Thanks ediguy...that worked!
-
Apr 13th, 2011, 06:22 PM
#6
Thread Starter
PowerPoster
Re: [RESOLVED] Scrolling HTML Table?
Actually, this didn't work. I just not got a chance to test it and before I was in a different page and didn't realize it. There doesn't seem to be a "scrollbar" property/attribute. I'm using an asp:Panel but just not sure how to set the scrolling.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|