How do I get input to expand to the full width of the parent div? For the shortcut, it worked fine. The code can be found here: http://jsfiddle.net/7h8Zg/
What makes a shortcut extensible but not input?
If you want the inputs to be the same size as the button submit, you must add width:97%to the rule input.
submit
width:97%
input
http://jsfiddle.net/7h8Zg/15/
change the left padding to a percentage and use the rest for the width, for example:
padding:0 0 0 2%;width:98%;
width: 100%;
div.
JSFiddle: http://jsfiddle.net/7h8Zg/5/