简体   繁体   English

放大器html验证错误 <div style=“clear:both;”> 在博客上

[英]amp html validation error <div style=“clear:both;”> on blogger

i have problem about amp validation in blogger i use old template (classic)and when try to https://thaifoodguru.blogspot.com/2016/07/som-tum-papaya-spicy-salad.html it have 2 error at paragraph etc. 1. 我在博客中遇到关于放大器验证的问题,我使用旧模板(经典),并尝试使用https://thaifoodguru.blogspot.com/2016/07/som-tum-papaya-spicy-salad.html时在段落中出现2错误等1。 error type The attribute 'style' may not appear in tag 'div'. 错误类型属性“样式”可能未出现在标签“ div”中。 2. 2。 error type The attribute 'style' may not appear in tag 'div'. 错误类型属性“样式”可能未出现在标签“ div”中。 error come from post maybe 错误可能来自帖子

when remove it (i mean no post content) amp validation successful how i can solve it? 删除它(我的意思是没有发布内容)后,放大器验证成功如何解决? please

Make that div into class x Define this style for .x This is how I made it in my AMP blogspot. 使该div成为类x。为.x定义此样式。这就是我在AMP blogspot中创建的方式。 You can check the source - https://amprandom.blogspot.com 您可以检查源-https://amprandom.blogspot.com

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM