美文网首页
如何设置站长统计的代码居中

如何设置站长统计的代码居中

作者: Young先生 | 来源:发表于2020-04-23 14:42 被阅读0次

站长统计代码居中格式如下:

<div>
    <center>
        <script type="text/javascript">document.write(unescape("%3Cspan id='cnzz_stat_icon_1278831573'%3E%3C/span%3E%3Cscript src='https://s4.cnzz.com/z_stat.php%3Fid%3D1278831573%26online%3D1%26show%3Dline' type='text/javascript'%3E%3C/script%3E"));
        </script>
    </center>
</div>

一般代码要放在</body>之前。

如果是把统计代码放到footer块中,要把它放在</footer>之前。

本文首发于BigYoung小站

相关文章

网友评论

      本文标题:如何设置站长统计的代码居中

      本文链接:https://www.haomeiwen.com/subject/smhaihtx.html