[英]Why does my PHP reCAPTCHA only display on Chrome and Safari?
[英]Weird space below my webpage in safari and chrome only
我的联系页面底部有一个空白,我不知道为什么。 我只知道它发生在Chrome和Safari中。 http://tshirthideout.com/contact-us/
我认为问题不在我的页脚模板中,因为它仅在联系页面上。 所以这是页面内容的代码。
<?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 src="about:blank" style="height: 0px; width: 0px; visibility: hidden; border: none;">...</iframe>
元素所占用的空间。
您应该将Display:block
添加到iframe
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.