Below is a snippet of the appearance of current page.
Radio buttons and their labels not in single line
Below is the piece of code is being used. (JSP)
<div class="leftFormComp" style="width: 100%;">
<label class="inputLabel" for="ext-comp-1045">
<span class="required">*</span><fmt:message key="registration.agreement"/>
</label>
<div id="x-form-el-ext-comp-1045" class="x-form-element" style="padding-left: 8px;">
<div id="ext-comp-1045" class=" x-form-checklist" style="width: 344px; height: auto;">
<div class="x-form-cb-li x-form-cb-li-h" style="padding-bottom: 5px">
<input id="termsAgree-Y" class="x-form-field" type="radio" value="Y" name="termsAgree"> <label class="x-form-cb-label" for="termsAgree-Y"><fmt:message key="registration.yes"/></label>
</div>
<div class="x-form-cb-li x-form-cb-li-h">
<input id="termsAgree-N" class="x-form-field" type="radio" value="N" name="termsAgree"> <label class="x-form-cb-label" for="termsAgree-N"><fmt:message key="registration.no"/></label>
</div>
</div>
</div>
</div>
I have tried using inline styling like
display: inline!important;
with input and label tags but nothing is working.
While checking in Chrome Developer mode, I came across an extra attribute that was getting appended in the input tags of both the radio buttons and I am unable to figure out from where it is coming.
element.style {
display: block;
}
Can someone please suggest way to override all existing stylings that are getting implemented on this element, so as to bring the radio buttons and their labels in one line. I am new to front-end part, so please help me out. Also, help me find the origin of this styling (Can it be found using Chrome Developer tool)
