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

Problem with overflow:auto!

P: 58
Hi all,
I have a problem in creating scroll bar.

consider my following css class code for a <Div> tag:
Expand|Select|Wrap|Line Numbers
  1. .suggestBoxContainer {
  2.       border:1px solid black;
  3.     background-color:#fff;
  4.     height:100px;
  5.     overflow:auto;
  6.     font-size:1.2em;
  7.     font-family: Verdana;
  8.     color:#686868;
  9.     position:absolute;
  10.     z-index:10
  11.   }
The above code creates a scroll bar for my <div> tag,but when i use keydown from keyboard,the scroller is not moving down,its working well(scroller moves down) if i use mouse.

can any one solve this problem???

Thanks in advance,
Oct 22 '07 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 15k+
P: 16,027
Is there any JavaScript involved here? Do you have any code which is executed when a key is pressed? If not, this belongs to the HTML/CSS forum.
Oct 22 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.