Home > Backend Development > PHP Tutorial > 为什么小弟我的顶部有一个空行

为什么小弟我的顶部有一个空行

WBOY
Release: 2016-06-13 13:48:24
Original
1020 people have browsed it

为什么我的顶部有一个空行
我的顶部有一个空行,并且在HTMl代码里输出了一个“”这个东西,
然后审配元素得到的源码里面,

里的头部信息,跑到了,body容器里了。

我的模版页是这样的。
PHP code
<!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

-->


    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="description" content="{$description}">
    <meta name="keywords" content="{$keywords}">
    <title>{$title}</title>
    <link rel="stylesheet" type="text/css" href="Tpl/default/images/style.css">
    <link rel="stylesheet" type="text/css" href="Tpl/default/images/public.css">
    <link rel="icon" type="image/ico" href="static/favicon.ico">
    <link rel="shortcut icon" href="static/favicon.ico">
    <meta http-equiv="X-UA-Compatible" content="IE=7">

    



[color=#FF0000]
    <!--总容器开始-->
    <div id="container">[/color]
    <!---头部开始--->
            
        <div class="m-bar">
            <div class="l-w releative">      
                 <div class="m-bar-crumb">
                    <span>当前位置:</span>
                    <a href="http://www.dianxin.cn">首页</a>
                    <span class="m-bar-crumb_sep">></span>
                    <a href="http://www.dianxin.cn/html/yi/yingshi/">影视</a>
                    <span class="m-bar-crumb_sep">></span>
                    <span>{$list_name}</span>
                 </div>
<br><br><br><br>但是,我审配元素的时候,是这样的代码<br><br><dl class="code">PHP code<pre class="brush:php;toolbar:false">
<!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

-->


[color=#FF9900]
?
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">[/color]
<meta content="df" name="description">
<meta content="df" name="keywords">
<title>电视剧第1页-dsf电信导航www.dianxin.cn</title>
Copy after login



我的问题是,怎么让我的头部显示正常。
http://125.86.19.172:8080/feifei02/?s=vod-read-id-5796.html

还有那一个审配元素得到的源码,为啥不一样呢。


------解决方案--------------------
Hi xiachao2008,I am not sure what would cause of this error,but I suggestion that you can close the tag shown in the code area below:
HTML code
<meta http-equiv="X-UA-Compatible" content="IE=7">
<br><font color="#e78608">------解决方案--------------------</font><br>
Copy after login
HTML code
<meta http-equiv="X-UA-Compatible" content="IE=7">
<br><font color="#e78608">------解决方案--------------------</font><br>congratulations :) 
Copy after login
Related labels:
source:php.cn
Previous article: php点击注册页面跳转的有关问题 Next article: PHP认证码解决方案
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
Latest Articles by Author
Latest Issues
Related Topics
More>
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template