【发布时间】:2016-04-26 14:09:49
【问题描述】:
我需要编辑此订阅表单,使电子邮件框和按钮的宽度均为 290 像素并居中。我还想让按钮变黑而不是圆角。请问有人可以帮忙吗?
<!-- Begin MailChimp Signup Form -->
<link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css">
<style type="text/css">
#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica, Arial,sans-serif; width:290px;}
/* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
</style>
<div id="mc_embed_signup">
<form action="//thefacefactory.us12.list-manage.com/subscribe/post?u=95d25bd530e274cd2b9abd235&id=411d7026eb" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<label for="mce-EMAIL">The Face Factory Newsletter</label>
<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required>
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;" arial-hidden="true"><input type="text" name="b_95d25bd530e274cd2b9abd235_411d7026eb" tabindex="-1" value=""></div>
<div class="clear"><input type="submit" value="Receive Offers and Beauty Tips" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
</div>
</form>
</div>
<!--End mc_embed_signup-->
【问题讨论】:
-
向我们展示您已经尝试过的 CSS 并描述它没有正确执行的地方。