Radio button margin problem - Forum

Forum Navigation
You need to log in to create posts and topics.

Radio button margin problem

Hi Luis, Sometimes I  copy-paste some code from codepen or other sites into the VisualNEO Web but it finds a little change,

maybe extra margin or extra padding. example:

Can we solve this kind of problem?

Uploaded files:
  • You need to login to have access to uploads.

@asmat I can't find where is the problem exactly, but it seems the CSS you have copy-pasted is not completely compatible with how radio buttons are coded in VisualNEO Web. This is the HTML code used:

<div id="RadioButton1" class="radio-inline " ng-style="NAB.RadioButton1_style" ng-hide="NAB.RadioButton1_hidden">
  <input id="RadioButton1_radio" type="radio" ng-disabled="NAB.RadioButton1_disabled">
  <label id="RadioButton1_label" for="RadioButton1_radio">This is a radio button</label>
</div>

If you don't like how radio buttons look like there is a special predefined class "neoradio" to improve it a little bit.

Regards.

farhad2008 and asmat have reacted to this post.
farhad2008asmat

Thank you so much @luishp.

luishp has reacted to this post.
luishp