I have three fields in a row above a grid of data and I'd like to use
autocomplete in these fields; however, the selection list appears
*behind* my data grid, which hides the list.
Any suggestions about how to override autocomplete css? I've tried
plunking some style code into my view template, but it doesn't seem to
have any effect.
There must be some competing autocomplete styles that are winning
out.
What is it about autocomplete and css that nobody has anything to say
about overriding the default stylesheet? Maybe like myself, most of
you are too buried in the code to learn much about css.
Thanks for your reply.
Yes I am defining the autocomplete classes in my stylesheet. I'm
actually embedding them after the body tag in my layout.
An extra set of classes always gets defined *after* mine. If I look at
the styles with firebug, I can see my classes are present in
controller-name and then an extra set also present in controller-name.
(where my controller-name is support).
Well that is odd. An extra set of eyes may help if you would
post your code.
-- Long
"Dave" wrote:
Thanks for your reply.
Yes I am defining the autocomplete classes in my stylesheet. I'm
actually embedding them after the body tag in my layout.
An extra set of classes always gets defined *after* mine. If I look at
the styles with firebug, I can see my classes are present in
controller-name and then an extra set also present in controller-name.
(where my controller-name is support).
Dave
> As I recall you customize the css properties by defining a .autocomplete
> class in your stylesheet. Are you doing this?
>
> -- Longhttp://MeandmyCity.com/- Free online business directory for local
communitieshttp://edgesoft.ca/blog/read/2- No-Cookie Session Support plugin for Rails
I have three fields in a row above a grid of data and I'd like to use
autocomplete in these fields; however, the selection list appears
*behind* my data grid, which hides the list.
Any suggestions about how to override autocomplete css? I've tried
plunking some style code into my view template, but it doesn't seem to
have any effect.
There must be some competing autocomplete styles that are winning
out.
Thanks for your help!
Dave
I had the same symptom of the auto-completion list items appearing
behind fields that were immediately below the auto-complete field. I was
retrofitting to an existing app with a couple of convoluted style
sheets. One sheet had an item with "z-index 10". I set new style sheet
items for auto-complete with "z-index 100" which fixed my problem.