html - CSS - form not well formatted on CPanel -
im adding form website. when working on computer looks want when update on server gets unformated.
this want like
and how looks when on-line
code i've tried:
html
subscreve nossa mailing list nome e-mail
<div class="clear mc-field-group"><input type="submit" value="subscrever" name="subscribe" id="mc-embedded-subscribe" class="button "></div> <div id="mce-responses" class="clear "> <div class="response" id="mce-error-response" style="display:none"></div> <div class="response" id="mce-success-response" style="display:none"></div> </div> <!-- real people should not fill in , expect things - not remove or risk form bot signups--> <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_b979d0f70b0c2b6cf424c7227_da6d6427a3" tabindex="-1" value=""></div> </div> </form> </div> <script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script><script type='text/javascript'>(function($) {window.fnames = new array(); window.ftypes = new array();fnames[0]='email';ftypes[0]='email';fnames[1]='fname';ftypes[1]='text'; }(jquery));var $mcj = jquery.noconflict(true);</script> <!--end mc_embed_signup-->
css:
#signup{ display: block; width: 100vw; background-color: #fec800; } #signup h1{ font-size: 18px; text-transform: uppercase; color: #000; } #mc_embed_signup{ padding-left: 60px; padding-top: 40px; padding-right: 70px; padding-bottom: 20px; } .mc-field-group{ display: inline-block; width: 33%; height: auto; padding-top: 15px; padding-bottom: 5px; /*background-color: red;*/ } .mc_embed_signup form{ padding: 0px; width: 100%; padding: 4px 20px; margin: 8px 0; display: inline-block; font-family: 'open sans', sans-serif; font-weight: 700; } #mce-email, #mce-fname{ width: 80%; border-radius: 4px; } #mc-embedded-subscribe{ width: 100%; background-color: #808080; color: white; padding: 4px 20px; margin: 8px 0; border: none; border-radius: 4px; font-family: 'open sans', sans-serif; font-weight: 400; cursor: pointer; }
i have tried css (similar result)
input[type=text], input[type=email], select { width: 75%; padding: 4px 20px; margin: 8px 0; display: inline-block; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; font-family: 'open sans', sans-serif; font-weight: 700; } input[type=submit] { width: 100%; background-color: #808080; color: white; padding: 4px 20px; margin: 8px 0; border: none; border-radius: 4px; font-family: 'open sans', sans-serif; font-weight: 400; cursor: pointer; }
Comments
Post a Comment