How can I make my registration fields like this

How can I achieve this via CSS?
I mean, that my textboxes should be aligned from label’s end to the page’s end…
EDIT
Here is my view part
<div id="member-search">
<h5>Last Name:</h5>
@Html.TextBox("member-last-name")
</div>
<div>
<h5>Pass:</h5>
@Html.TextBox("member-pass")
</div>
<input type="submit" value="Search" class="button"/>
</div>
In CSS I tried a lot, but with no success. width:auto doesn’t help and I don’t find solution for this. Thanks for help.
With changes to your view you can achieve this. My answer is based on the following answer: How to make text input box to occupy all the remaining width within parent block?
You can look at the modified version of the answer at http://jsfiddle.net/626B2/63/
HTML:
CSS: