Forums

How to center this code

sandersm 14 Mar, 2018
Hello,
How do I get this code to center itself on the page?
******
<div class="gcore-line-tr gcore-form-row" id="ftr-custom"><div class="gcore-line-td" id="ftd-custom"><div class="gcore-display-table gcore-input" id="fin-custom"><body>
<div align="center">If you&rsquo;re a previous participant or interested in receiving updates about Unlimited Visions and our events, please feel out the following:
</div>
</body></div></div></div><div class="gcore-line-tr gcore-form-row" id="ftr-multi-11"><div class="gcore-line-td" id="ftd-multi-11"><div class="gcore-subinput-container" id="fitem-name"><div class="gcore-input-container gcore-display-table gcore-input" id="fin-name"><input name="name" id="name" value="" placeholder="" class=" validate[&#039;required&#039;]" title="" style="" data-inputmask="" data-load-state="" data-tooltip="" type="text" /><label class="gcore-sub-label">NAME</label></div></div>
<div class="gcore-subinput-container" id="fitem-dob"><div class="gcore-input-container gcore-display-table gcore-input" id="fin-dob"><input name="dob" id="dob" value="" placeholder="" class=" validate[&#039;required&#039;]" title="" style="" data-inputmask="&#039;alias&#039; : &#039;mm/dd/yyyy&#039;" data-load-state="" data-tooltip="" type="text" /><label class="gcore-sub-label">DATE OF BIRTH</label></div></div>
<div class="gcore-subinput-container" id="fitem-email"><div class="gcore-input-container gcore-display-table gcore-input" id="fin-email"><input name="email" id="email" value="" placeholder="" class=" validate[&#039;required&#039;,&#039;email&#039;]" title="" style="" data-inputmask="" data-load-state="" data-tooltip="" type="text" /><label class="gcore-sub-label">EMAIL</label></div></div>
<div class="gcore-subinput-container" id="fitem-previous"><div class="gcore-input-container gcore-display-table gcore-input" id="fin-previous"><select name="previous" id="previous" size="" class=" validate[&#039;required&#039;]" title="" style="" data-load-state="" data-tooltip="">
<option value="0">No</option>
<option value="1">Yes</option>
</select><label class="gcore-sub-label">PREVIOUS PARTICIPANT</label></div></div>
<div class="gcore-subinput-container" id="fitem-button15"><div class="gcore-input-container gcore-display-table gcore-input" id="fin-button15"><input name="button15" id="button15" type="submit" value="SUBMIT" class="btn btn-default" style="" data-load-state="" /></div></div></div></div><div class="chronoform-container" id="chronoform-container-12"></div>
******
I've tried all that I can think of, but, I cannot get it to center. Any ideas?
Puzzled
GreyHead 21 Mar, 2018
Hi sandersm.

Please see the Centering a Block or Image section here

And you definitely should not have <body> tags in your HTML.

Bob
This topic is locked and no more replies can be posted.