Html Pardot表单-OptinMonster中的内联按钮表单
我试图在HTML pardot表单中,将optinmonster放入其浮动页脚选项中 我希望所有三个字段都内联,它们都是表示的,但是按钮也是内联的。有人能帮我把按钮和字段对齐吗 HTML:Html Pardot表单-OptinMonster中的内联按钮表单,html,css,pardot,Html,Css,Pardot,我试图在HTML pardot表单中,将optinmonster放入其浮动页脚选项中 我希望所有三个字段都内联,它们都是表示的,但是按钮也是内联的。有人能帮我把按钮和字段对齐吗 HTML: 全名* 电话* 公司电子邮件* 注释 CSS: 您可以在OptinMonitor浮动框上编写自定义HTML。 转到OptinMoster浮动框->集成->添加新内容->自定义HTML。 (将HTML粘贴到框中) 然后选择Optin->(滚动结束)->直接添加css 然后重新启动OptinMoster浮
全名*
电话*
公司电子邮件*
注释
CSS:
您可以在OptinMonitor浮动框上编写自定义HTML。 转到OptinMoster浮动框->集成->添加新内容->自定义HTML。 (将HTML粘贴到框中) 然后选择Optin->(滚动结束)->直接添加css 然后重新启动OptinMoster浮动程序
清除浏览器cookies(如果在OptinMonitor中设置了cookies)。重新加载然后检查。您可以在OptinMoster浮动框上编写自定义HTML。 转到OptinMoster浮动框->集成->添加新内容->自定义HTML。 (将HTML粘贴到框中) 然后选择Optin->(滚动结束)->直接添加css 然后重新启动OptinMoster浮动程序 清除浏览器cookies(如果在OptinMonitor中设置了cookies)。重新加载,然后检查
html div#om-hdg1tmojgfiv0dyjbqou {
}
*,
*:before,
*:after {
box-sizing: inherit;
}
body {
font-family: "Raleway", Helvetica, Arial, sans-serif;
}
form {
width: 100%;
padding: 0;
color: #fff;
overflow: hidden;
font-family: "Raleway", Helvetica, Arial, sans-serif;
text-align: center;
float: left;
}
form > * {
text-align: left;
}
form.form .errors {
font-size: .75em;
font-weight: 600;
text-transform: uppercase;
margin-bottom: 20px;
}
.description {
font-size: .65em;
opacity: .5;
margin-top: 5px;
display: inline-block;
}
.description a {
color: #17AB51;
}
.error.no-label {
font-size: .5em;
position: relative;
top: 0px;
right: 0px;
}
form.form p {
color: #414042;
width: 100%;
margin: 0 0 25px;
margin-right: 0%;
position: relative;
}
form.form p:nth-child(even) {
margin-right: 0;
}
form.form p label {
color: #414042;
display: block;
text-transform: uppercase;
font-size: .9em;
font-weight: 100;
margin-bottom: 5px;
}
form.form p.hidden {
position: absolute;
width: 190px;
left: -9999px;
top: -9999px;
}
form.form p input {
padding: 15px 12px;
color: #414042;
width: 100%;
font-size: 1em;
border: 1px solid #CCCDCD;
transition: all .2s;
font-weight: 100;
font-family: "Raleway", Helvetica, Arial, sans-serif;
font-variant-numeric: lining-nums;
}
form.form p.error input {
border: 1px solid #8D2008;
}
form.form p input:focus {
outline: none;
box-shadow: none;
border: 1px solid #17AB51;
}
form.form p select {
padding: 15px 12px;
color: #414042;
width: 100%;
font-size: 1em;
border: 1px solid #CCCDCD;
border-radius: 0;
background: #fff url(https://www.achieveit.com/wp- content/themes/achieveit/assets/img/chevron-down.png) 97% 50% no-repeat;
background-size: 25px;
transition: all .2s;
font-weight: 100;
font-family: "Raleway", Helvetica, Arial, sans-serif;
-webkit-appearance: none;
-moz-appearance: none;
-ms-appearance: none;
-o-appearance: none;
}
form.form p.error select {
border: 1px solid #8D2008;
}
form.form p select:focus {
outline: none;
box-shadow: none;
border: 1px solid #17AB51;
}
form.form p textarea {
padding: 15px 12px;
color: #414042;
width: 100%;
font-size: 1em;
border: 1px solid #CCCDCD;
height: 100px;
transition: all .2s;
font-weight: 100;
}
form.form p.error textarea {
border: 1px solid #8D2008;
}
form.form p textarea:focus {
outline: none;
box-shadow: none;
border: 1px solid #17AB51;
}
form.form p.submit {
clear: both;
width: auto;
display: inline;
margin: 0 auto 25px;
text-align: center;
font-weight: 100;
}
form.form p.submit input[type="submit"] {
border: 0px solid #fff;
text-transform: uppercase;
color: #fff;
display: block;
width: auto;
padding-right: 5%;
padding-left: 5%;
background: #17AB51;
background-size: 10px;
transition: all .2s;
font-weight: 100;
font-family: "Raleway", Helvetica, Arial, sans-serif;
}
form.form p.submit input[type="submit"]:hover {
color: #fff;
background: #149141;
background-size: 20px;
}
form.form p.smalltext {
font-size: .5em;
color: #414042;
text-align: center;
float: none;
clear: both;
width: auto;
}
form.form p.smalltext a {
color: #414042;
text-decoration: underline;
}
@media screen and (min-width: 720px) {
form.form p {
/*width: 48%; float: left; margin-right: 4%; position: relative;*/
width: 20%;
float: left;
/*margin-right: 3%;*/
padding: 0 1%;
position: relative;
display: block;
vertical-align: top;
text-align: left;
}
form.form p:nth-child(even) {
margin-right: 0;
}
.error.no-label {
font-size: .5em;
position: absolute;
top: 6px;
right: 10px;
}
}
Here is my work: https://codepen.io/a_shelley/pen/ZKqZoo