Skip to main content
sajjansarkaratlanta
Participating Frequently
August 17, 2010
Question

Unable to Use Scrollbar on ColdFusion Auto-suggest list

  • August 17, 2010
  • 1 reply
  • 1954 views

My auto suggest list returns a long list and i'd like the user to be able to scroll the list. The mouse roller scrolls perfectly,but if I want to scroll using the vertical scroll bar (as many of our users dont have scroll mice) it just disappears.

I have tried to override the CSS by including the following attribute below but it doesnt work.I have tried various CSS tricks (like wrapping in another DIV and changing position values) to no avail.Please help!

div.autosuggest

{

   overflow:scroll;

    position:relative;

    float:left; 

}

This topic has been closed for replies.

1 reply

Participating Frequently
August 19, 2010

Here, try adding this within your code:

<style>

.autosuggestcontainer {
    height:400px;
    overflow:auto;
    position:relative;
    float:left; 
}

</style>

It seems to be an IE issue as simply wrapping the cfinput in a div works fine in FireFox.

sajjansarkaratlanta
Participating Frequently
August 19, 2010

Hi,

Thanks for your reply, added your code,you're right it does work in FF (even without wrapping it in a DIV). But no matter what I do I cant get it to work in IE ( or chrome).I really need to get this to work on IE!

I really dont know what else to try.