html - cshtml radiobuttons disable -
i'm developing mvc project, have cshtml file has radiobuttons page. when disable 1 of them, other one's position changed. sliped little left (font decrease) how can prevent ? my radiobuttons: <td> @html.radiobuttonfor(model => model.geta, true, new {id = "9", onclick = "", data_bind = "value:geta" }) true @html.radiobuttonfor(model => model.getb, false, new {id = "10", onclick = "", data_bind = "value:getb" }) false </td> i solved this: in project f_disable function load disable.png disabled radiobutton , create new id. reached attributes new id , changed disable.png width , padding in javascript. document.getelementbyid("9_readonly").style.width = "15px"; document.getelementbyid("10_readonly").style.width = "15px"; document.getelementbyid("9_readonly").style.paddingleft = "3px"; document.getelementbyid("1...