I am trying to get full width Login form. Basically, the input fields for the user name, password and the button all should be of the same length. now I can get this using s
You can use display: table and display: table-cell to get the inputs to fill the remaining space in the spans correctly or use fluid widths. Here's a fiddle for the first approach:
http://jsfiddle.net/EP83X/22/
Or use width: 90.666% on the inputs based on the fixed icon width (28px) and the width of the spans ((300-28) / 300 * 100).