Q:

CSS problem, auto correct width

I've got the following code.. http://jsfiddle.net/L593G/7/ what would I need to add to make the query box auto resize depending on the menu? So as to prevent the text (when it's long) disappearing under the menu? To see what I mean type a long sentence into the query box and it'll vanish behind the menu. I'd prefer if it just cut off the text on the far left rather than the "new" additions getting hidden.

A:

Here's a very quick mock-up of what I think you're trying to accomplish. Instead of actually placing the select inside the textbox, you can place both objects in a div, "hide" the textbox, and make the div look like a textbox.
Hope that makes sense.

