Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Styling for No Page Scroll in Table

0 views
Skip to first unread message

xeroxero

unread,
Aug 16, 2006, 10:15:03 AM8/16/06
to

I have a table with a treeview inside the <div> tag. When the treeview
gets large, page scrollbars appear and the treeview runs off the page.
I would like to style things so regardless of page size, the treeview
only has a vertical scrollbar (inside the div?) and does not make the
page itself scroll.

What do I have to style to make this happen? The div? The table?
Seperate td's? Help!

Thanks.

<table>
<tr>
<td>
<tr>
stuff
</tr>
<table>
<tr>
<td>
<div>
tree
</div>
</td>
</tr>
</table>
<td>
<tr>
<td>
</td>
</tr>
</td>
</tr>
</table>


Walter Wang [MSFT]

unread,
Aug 16, 2006, 11:18:43 PM8/16/06
to
Hi,

You can apply CSS rules to the div:

<div style="height:100px;width:100px;overflow:auto">

Hope this helps. Please feel free to post here if anything is unclear.

Sincerely,
Walter Wang (waw...@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Luke Zhang [MSFT]

unread,
Aug 21, 2006, 3:23:24 AM8/21/06
to
Hello,

Do the suguestion from Walter help on the issue? If you have fruther
questions or concern on this issue, Please feel free to let me know.

Sincerely,

Luke Zhang

Microsoft Online Community Support

0 new messages