Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding scrollbars to a table 3

Status
Not open for further replies.

KevinFSI

Programmer
Nov 17, 2000
582
US
Microsoft's MSDN Web Workshop has a table with it's own scrollbars. Can anyone tell me how this is done, or point me to a good tutorial on the subject.

Thanks, Kevin
slanek@ssd.fsi.com
 
<table style=&quot;overflow:hidden;height:100;width:300;&quot;> luciddream@subdimension.com
 
i meant to put either overflow:auto; or overflow:scroll; not hidden. luciddream@subdimension.com
 
Try setting overflow to scroll - if this doesn't work with the table directly, it will work with the table enclosed in a span. Set overflow-x and y independantly if you like, and make dure you have dimensions defined in your style, otherwise it will just take the dimensions of the table.
b2 - benbiddington@surf4nix.com
 
This works perfectly guys. Had to enclose the table in <SPAN> in order to get it to work (thanks bangers) but thanks to you both for the quick response. Kevin
slanek@ssd.fsi.com
 
Wasn't tryin to bust your gig lucid - we must have sumbitted at exactly the same time - freaky. :-Q
b2 - benbiddington@surf4nix.com
 
One more question, and it stems from my lack of experience with using span, but if I want to just say <SPAN ID=&quot;...&quot;> instead of declaring all the attributes within the SPAN tag, where do I define the ID? I did it in my stylesheet as #scrollTable... and declared the height/width etc in there, but it didn't work properly. Obviously I'm doing this the wrong way. What is the proper way to go about using <SPAN ID=&quot;...&quot;>? Kevin
slanek@ssd.fsi.com
 
Oops disregard. It works fine when I spell the ID correctly. DUH!!! Kevin
slanek@ssd.fsi.com
 
Oh boy they were quick! By the time I typed what i typed (which as you can see wasn't very much!) They manged to answer your query. How slow at typing am I???
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top