写微信公众号注意事项
一、使用section
标签代替div
标签,并且每个section
标签都要写上powered-by="xmyeditor.com"
二、每个模块之间需要写上
<p style="font-size:15px;padding:0px;margin:0px;line-height:20px;"><br></p>
三、每个模块最外层都要包裹上
<section class="xmyeditor" powered-by="xmyeditor.com"></section>
用于编辑文字以及图片
四、所有图片格式
1.大图 样式
style="vertical-align: middle;width: 100%;" class="brushimg
2.小图样式
style="vertical-align: middle;width: 100%;" class="small_image"
五、不能使用浮动float
以及定位position
,可以使用margin
以及transform:translate(0px,0px)
进行位置移动
六、每个模块之间需要写上
<p style="font-size:15px;padding:0px;margin:0px;line-height:20px;"><br></p>
七、需要写横线的话,必须加上height:0
八、每个p标签外面必须加上行高,一般为line-height:26px
,必须加上字体间距,一般为letter-spacing:1.5px
九、多个p标签可以共用一个section
包裹,每个图片只能用一个section
包裹