Search code examples
asp.net-mvc-4safari

Radio button not rendering in Safari only


I want to create a radio button in a .cshtml file. This simple code is not rendering a radio button in Safari:

  <input type="radio" value="1"  name="testme"/>

It works perfectly in IE8, but in Safari 5.1.7, radio buttons are not rendered. This happens only for .cshtml files.


Solution

  • I removed the overflow:hidden style for the <td> which was causing the radio button not to be rendered in Safari - overflow:hidden is behaving differently in Safari.