See: http://jsfiddle.net/h86Z3/
How can I make the right input and/or its wrapping div expand to the remaining space of the outer div with id "outer"? I need to preserve the nested div structure though
I tried:
#right, #right input { width: auto }
and:
#right, #right input { width: 100%}
EDIT SORRY I should have specified that I indeed don't want to give it a specified width! I want it do adapt to width changes of the outer div
EDIT2 No, the question above does NOT answer mine. The changes recommended there applied to my structure do NOT work, as I said in the original question. My question is about nested divs containing inputs with an outer div of fixed width.