【问题标题】:How to fix the coding [closed]如何修复编码[关闭]
【发布时间】:2016-11-19 18:39:06
【问题描述】:

我的网站是 https://templatemonstrosity.blogspot.com/ 。如您所见,在此页面的最顶部,有一个令人讨厌的文本'-->'。我已经搜索了我的整个 XML,但我找不到它在哪里,有人可以告诉我该怎么做吗?如果有人可以请查看我来自https://drive.google.com/open?id=0Bw7OiqWvpt5sdXc3cUV5Y2ZMMVk 的模板并告诉我要修复哪个确切的ine,那么这将是一个很大的帮助。

【问题讨论】:

  • 第 157 行,当我查看您的页面来源时...--></style>

标签: html text removable


【解决方案1】:

我查看了您的网站,在正文顶部有一个“-->”。摆脱它对我有用。

第 1 步:寻找这行/这段代码(我一直没有做过 html)。 就在我看到的下面:

"--> "

删除“--> ”。

你应该很高兴。

【讨论】:

【解决方案2】:

在这里(查看源代码):

@media screen and (max-width: 767px) {.tg {width: auto !important;}.tg col {width: auto !important;}.tg-wrap {overflow-x: auto;-webkit-overflow-scrolling: touch;margin: auto 0px;}}</style>
--></style>

基本上,源中有多个&lt;style&gt;-tags,这里有两个结束标签,中间有一个注释位 - 删除第二个。而且...好吧,我不知道 Blogger,但如果这是标准,那该死的就是丑陋的代码。

【讨论】:

  • 我发现的只有这个@media 屏幕和 (max-width: 767px) {.tg {width: auto !important;}.tg col {width: auto !important;}.tg-wrap {overflow-x: auto;-webkit-overflow-scrolling: touch;margin: auto 0px;}}]]>
  • 可能是最后的两个]],除非它们在某个地方有起点。如果删除这些代码不起作用,请发布更多代码 - 比如说该行之前的 10 行,之后的 10 行作为对您问题的编辑。
猜你喜欢
  • 2015-10-02
  • 2017-05-12
  • 1970-01-01
  • 2022-11-14
  • 2021-10-28
  • 2022-06-27
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多