Divs & Inputs Leaving Me Flummoxed.

Divs & Inputs Leaving Me Flummoxed.

I have been trying to develop a text-input box inside a div with a border surround - I know this doesn't explain it well so I have made a fiddle that I hope displays the problems I am having:


Basically I want the top div to align with the bottom div while still keeping the hover state or is there a better way to do this - I have been messing around with this for a few hours now and not moving forward with it.

Many thanks - truly flummoxed.