I had this one stump me the other day.
Move your autocompleter results div to the bottom of the page, so it's
declared at the top level of the elements (just inside body)
That should fix it.
It is to do with the order browsers draw objects (well ie specifically)


On Dec 28, 2007 3:15 AM, Cris <[EMAIL PROTECTED]> wrote:

>
> Autocomplete list hides behind other controls. I am using IE6
>
> I tried setting the z-index to 100 for that control and the div above
> it too. But not working.
>
> Can anyone tell me how to solve it?
>
> My auto.css also has z-index 100 declared for all items.
> ==================
> h1 { font-size: 1.5em; }
>
> div.autocomplete {
>        position: absolute;
>        width: 250px;
>        background-color: white;
>        border: 1px solid #888;
>        margin: 0px; padding: 0px;
>        z-index: 100
> }
>
> div.autocomplete ul {
>        list-style-type: none;
>        margin: 0px; padding: 0px;
>        z-index: 100
> }
>
> div.autocomplete ul li.selected {
>        background-color: #ff9;
>        z-index: 100
> }
>
> div.autocomplete ul li {
>        list-style-type: none;
>        display: block;
>        font-family: Arial, Helvetica, sans-serif; font-size:smaller;
> color:
> #444;
>        margin: 0px; padding: 0.1em; height: 1.5em; line-height: 1.5em;
>        cursor: pointer;
>        z-index: 100
> }
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to