【发布时间】:2019-09-11 03:43:00
【问题描述】:
我正在将 Mailchimp 注册表单连接到我的 Wordpress 网站 https://thetekworks.com - 但是 GDPR 复选框未按我预期的那样运行...查看了指向我的隐私政策的链接应该出现在我的复选框之后,但它出现了在新线上。
我已经尝试使用浮动和显示标签来纠正这个问题,正如我在网上找到的那样,但这也没有奏效。
<p>
<input type="email" name="EMAIL" placeholder="Email address*" required />
<label>
<input style="float:left; display:inline" name="AGREE_TO_TERMS" type="checkbox" value="1" required="">
<a href="https://thetekworks.com/privacy-policy/" target="_blank">I have read and agree to your privacy policy</a>
</label>
我曾预计它的行为类似于https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_input_checked
任何帮助将不胜感激。
【问题讨论】:
标签: html css wordpress mailchimp