After adding long articles to the website, the page will be automatically paginated_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:56:43
Original
1521 people have browsed it

我的网站在发布文章时候,短文章不会出现错误,长篇的需要分页以后,就会导致页面走形,详细地址http://www.wenge8.com/a/haocihaoju/renwukehua/31.html还有http://www.wenge8.com/a/haocihaoju/jierimiaoxie/35.html好几篇都这样的。可是还有一篇长的文章分页后没有出现这种情况,一切都正常,详细地址是:http://www.wenge8.com/a/youxiuzuowen/riji/22.html哪位高手帮忙看下,我是哪里弄错了还是文章页的代码有问题?或许是不是

没有结尾的原因导致的呢?我的article_article.htm发在附件上,哪位大侠帮忙支招!
    article?article.htm 代码如下:

{dede:include filename="/shuoguai/header.htm"/}



返回首页您现在的位置: {dede:field name='position'/}文章内容

{dede:field.title/}


作者: {dede:field.writer/} 来源: {dede:field.source/} 时间: {dede:field.pubdate function="MyDate('Y-m-d',@me)"/} 阅读:  次 在线投稿








{dede:field.body/}
             
                 

<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"24"},"share":{},"image":{"viewList":["tsina","qzone","tqq","renren","weixin"],"viewText":"分享到:","viewSize":"16"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["tsina","qzone","tqq","renren","weixin"]}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
                 
            

    
    
    


    {dede:tag}{/dede:tag}


<script> <br>     var wumiiSitePrefix = "{dede:global.cfg_basehost/}{dede:global.cfg_indexurl/}/"; <br>     var wumiiCategories = ["{dede:field.wumiicate/}"]; <br> </script>
                        



              {dede:pagebreak/}


{dede:prenext get='pre'/} {dede:prenext get='next'/}


        

相关阅读


发表文章





        

版权声明




1.本文由文革吧(www.wenge8.com)网友提供,版权归原作者本人所有,转载请注明出处!
                             2.转载或引用本网内容必须是以新闻性或资料性公共免费信息为使用目的的合理、善意引用,不得对本网内容原意进行曲解、修改,同时必须保留本网注明的"稿件来源",并自负版权等法律责任。

                3.对于不当转载或引用本网内容而引起的民事纷争、行政处理或其他损失,本网不承担责任。


        

最新评论

更多评论











请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。




友情提示: 登录后发表评论,可以直接从评论中的用户名进入您的个人空间,让更多网友认识您。






            

最新文章







 


        

        
        

 


随机推荐




    {dede:arclist row=15 orderby=rand titlelen=100 }
  • [field:title/]

  • {/dede:arclist}





{dede:include filename="/shuoguai/footer.htm"/}



Reply to the discussion (solution)

There is nothing wrong with your template itself, but there are html tags like div in your article. When paginating , are incorrectly truncated, causing these tags to break your page layout.

But how to solve this problem?

But why doesn’t this happen when some of my articles are paginated?

That’s because your article is different, so there may or may not be html tags at the truncation point. A safer approach is to replace html tags that may break the layout.
I don’t know what language your website is written in. Please refer to: PHP long article pagination solution

But why doesn’t this happen when some of my articles are paginated?

Clear the float and take a look

Thank you very much, I have solved the problem with your tips!

You're welcome, I'm glad the problem is solved

Thank you very much, I have solved the problem with your tips!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template