Take the 2-minute tour ×

enter image description here

I am building my own custom search with google search api.
How can I style the popup which shows when selecting an input box ?
Its some sort of search-input history popup.
I guess this may be only possible via jquery. But I dunno how this element is called.

share|improve this question
possible duplicate of Styling autocomplete dropdowns in browsers –  Samuel Liew Feb 7 '13 at 6:04

2 Answers 2

You can't style a history-complete dropdown. It's implemented differently on different browsers.

You can hide it if it doesn't match your site's design, by using autocomplete="off"

See duplicate question.

share|improve this answer

As Samuel Liew's answer indicates, this is browser functionality that you can't style. If you just don't want to show it, use autocomplete="off". If you really want the functionality and you really need it to be styled, you'll have to roll your own, for example by storing a list of the user's previous inputs in a session or cookie value and using it to populate a list that you generate manually when the user enters text.

share|improve this answer
Thanks to both of you. I would have been searching forever. –  user981027 Feb 7 '13 at 6:08

Your Answer


