Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/275.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 我的网页下方只有safari和chrome的怪异空间_Php_Html_Css_Google Chrome_Safari - Fatal编程技术网

Php 我的网页下方只有safari和chrome的怪异空间

Php 我的网页下方只有safari和chrome的怪异空间,php,html,css,google-chrome,safari,Php,Html,Css,Google Chrome,Safari,我的联系人页面底部有一个空白,我不知道为什么。 据我所知,这只发生在chrome和safari中。 我不认为问题出在我的页脚模板上,因为它只出现在联系人页面上。这是我对页面内容的代码 <?php /** * The template for displaying all pages. * * This is the template that displays all pages by default. * Please note that this is the WordPre

我的联系人页面底部有一个空白,我不知道为什么。 据我所知,这只发生在chrome和safari中。

我不认为问题出在我的页脚模板上,因为它只出现在联系人页面上。这是我对页面内容的代码

<?php
/**
 * The template for displaying all pages.
 *
 * This is the template that displays all pages by default.
 * Please note that this is the WordPress construct of pages
 * and that other 'pages' on your WordPress site will use a
 * different template.
 *
 * @package WordPress
 * @subpackage Twenty_Twelve
 * @since Twenty Twelve 1.0
 */

get_header(); ?>


<div style="position: relative; top: -35px; left: 3px; display: block;margin-bottom: 40px;">

    <div id="ribbon"><span style="padding-left: 11px; color: #fff;
        text-shadow: 1px 1px 0px #c1c1c1,2px 2px 0px #c1c1c1;
        font-size: 30px;font-family:'Century Gothic',futura,'URW Gothic L',Verdana,sans-serif;
        text-transform: uppercase;"><strong><h1 style="position: absolute; top: 0px; left: 11px;"><?php the_title(); ?></h1></strong></span></div>
<div style="right: 5px; top: 48px; position: absolute; display: block;"><form class="widget-area" role="search" method="get" id="searchform" action="<?php echo home_url( '/' ); ?>">
    <div><label class="screen-reader-text" for="s">Search for:</label>
        <input type="text" value="" name="s" id="s" />
        <input type="submit" id="searchsubmit" value="" />
    </div>
</form></div>
</div>
    <div id="primary" class="site-content">
        <div id="content" role="main">

            <?php while ( have_posts() ) : the_post(); ?>
                <?php get_template_part( 'content', 'page' ); ?>

            <?php endwhile; // end of the loop. ?>

        </div><!-- #content -->
    </div><!-- #primary -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>



这个
..
元素所产生的空间。

这个
..
元素所产生的空间。

你应该将
显示:块
添加到iframe

你应该将
显示:块
添加到iframe

那么表单插件必须出于任何原因使用这个iframe,因为我没有把它放在那里。thnx指出了它。那么表单插件一定是出于什么原因使用了这个iframe,因为我没有把它放在那里。谢谢你指出它。