Text box autocomplete

Fun project for the weekend.
Figure out how to do the text box autocomplete display with javascript. I understand the ajax part about fetching the data. I just need to figure out the display portion. How to format the div so that it floats underneath the text box and looks somewhat proffesional. Any suggestions or examples of it is being succesfully employed would be great.