I tried to use the html and use inline CSS to code, but when it's in preview it doesn't work. It gets shoved down lower than on the editing page.
我试图使用html和内联css来编写代码,但当它处于预览状态时就不起作用了。它被推到比编辑页面更低的位置。
Here's my code:
下面是我的代码:
<p style ="border:0; padding-top: 20px;">
<a href="https://www.savanhwellness.com/" target="_blank" rel="noopener noreferrer"><img src="https://static.wixstatic.com/media/2ffbb9_11c1aae28c5f43f2b5122067a7f9a34e~mv2.png" width="200" height alt="Savanh Wellness Logo"></a>
<a href="https://www.savanhwellness.com/shop-all" style="color:black; padding-left: 150px; font-family: 'Montserrat'; margin-top: -50"> SHOP</a>
<a href="https://www.savanhwellness.com/aapi-cc" style="color:black; font-family: 'Montserrat'"> AAPI-CC</a>
<a href="https://www.savanhwellness.com/contact" style="color:black; font-family: 'Montserrat'"> CONTACT</a>
</h3>
</p>
Edit page
https://i.stack.imgur.com/LNmAv.png
编辑页面https://i.stack.imgur.com/LNmAv.png
Preview
[1]: https://i.stack.imgur.com/Igxhw.png
预览[1]:https://i.stack.imgur.com/Igxhw.png
更多回答
优秀答案推荐
I made a few adjustments to your HTML code:
我对您的HTML代码做了一些调整:
Now, your HTML code should apply the specified inline CSS styles to the respective elements in your Wix newsletter. Make sure to paste this modified code into the HTML Settings of your Wix newsletter where you want to apply these styles.
现在,您的HTML代码应该将指定的内联CSS样式应用于Wix时事通讯中的各个元素。确保将修改后的代码粘贴到Wix时事通讯的HTML设置中,并将这些样式应用到其中。
<p style="border: 0; padding-top: 20px;">
<a href="https://www.savanhwellness.com/" target="_blank" rel="noopener noreferrer">
<img src="https://static.wixstatic.com/media/2ffbb9_11c1aae28c5f43f2b5122067a7f9a34e~mv2.png" width="200" height alt="Savanh Wellness Logo" />
</a>
<a href="https://www.savanhwellness.com/shop-all" style="color: black; padding-left: 150px; font-family: 'Montserrat'; margin-top: -50px;">SHOP</a>
<a href="https://www.savanhwellness.com/aapi-cc" style="color: black; font-family: 'Montserrat';">AAPI-CC</a>
<a href="https://www.savanhwellness.com/contact" style="color: black; font-family: 'Montserrat';">CONTACT</a>
</p>
更多回答
我是一名优秀的程序员,十分优秀!