By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,700 Members | 1,506 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,700 IT Pros & Developers. It's quick & easy.

How to avoid horizontal scroll bar in DIV Tag

P: n/a

I am displaying datagrid in DIV tag. I have specified
following css to DIV.

border:solid 1px black;
min-width : 150px
max-height : 150px;
background-color : Silver;


It is working fine if width of grid is greater than min-width. But
when height is greater than instead of only verticle scroll bar, both
scrollbars are being displayed.

How can horizontal scroll bar can be avoid.

Help is highly appriciated.

Sep 14 '08 #1
Share this Question
Share on Google+
1 Reply

P: n/a
How can horizontal scroll bar can be avoid.
Sep 14 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.