make <div> fill <td> without scripts

Yes, this is one more question about good old \[code\]div\[/code\] inside \[code\]td\[/code\] but without scripts.\[code\]td\[/code\]'s width is defined in pixels.I want a \[code\]div\[/code\] (and its inner input) fill the whole \[code\]td\[/code\]. I made it work in Chrome, but failed in Firefox and IE9. It's a total mess there. (I don't care about IE6-8)Here is the snippet I'm testing on: http://jsfiddle.net/K5D9z/37/.Is there any generic solution to this?
 
Back
Top