I'm not sure that you code will work like this inside of a table. If you are having trouble with it like this it may be better to have just the inputs with the text next to them in a div. It is best to have the div around the input and make the div invisible, but you can add the style attribute to just about any valid tag on the page. It is just like this:
<tag style="visibility:hidden;" />