Drupal网站阻止在Chrome上无法正常显示

时间:2016-10-04 20:38:59

标签: google-chrome drupal

enter image description here我的Drupal网站阻止“排在第三位”未在Chrome上显示。它显示了移动到底部第一列和底部第二列的所有内容。在Safari上它正确格式化。该主题称为“高级”(注意它不是高级主题)。有什么想法吗?

现在拍摄的照片(刷新缓存等后)。 第一张图片:safari浏览器

第二张图片:Chrome浏览器enter image description here

主题block.tpl.php是:

   ?>
   <div id="<?php print $block_html_id; ?>" class="<?php print $classes; ?>"<?php        print $attributes; ?>>

  <?php print render($title_prefix); ?>
 <?php if (!empty($block->subject)): ?>
   <h2 <?php print $title_attributes; ?>><?php print $block->subject ?></h2>
 <?php endif;?>
 <?php print render($title_suffix); ?>

 <div class="content"<?php print $content_attributes; ?>>
   <?php print $content ?>
 </div>

我没有对网站主题应用任何额外的CSS或HTML等,我只是开箱即用

从Chrome复制的底部块的页面源如下:

 </div> <!-- /.block --><div id="block-user-login" class="block block-user">

    <h2 >User login</h2>

  <div class="content">
   <form action="/node?destination=node" method="post" id="user-login-form"       accept-charset="UTF-8"><div><div class="form-item form-type-textfield form-item-name">
  <label for="edit-name">Username <span class="form-required" title="This field is required.">*</span></label>
 <input type="text" id="edit-name" name="name" value="" size="15" maxlength="60" class="form-text required" />
</div>
<div class="form-item form-type-password form-item-pass">

密码*                

                        

  </div> <!-- /.block --></div>
   <!-- /.region --></div>
              <div id="bottom2"><div class="region region-footer-second">
    <div id="block-follow-site" class="block block-follow">

    <h2 >Follow us on:</h2>

  <div class="content">
    <div class='follow-links clearfix site'><div class='follow-link-wrapper follow-link-wrapper-this-site'><a href="/rss.xml" class="follow-link follow-link-this-site follow-link-site" title="Follow us on This site (RSS)">This site (RSS)    </a>
   </div><div class='follow-link-wrapper follow-link-wrapper-facebook'><a   href="https://www.facebook.com/cinemmerse" class="follow-link follow-link-facebook follow-link-site" title="Follow us on Facebook">Facebook</a>
    </div><div class='follow-link-wrapper follow-link-wrapper-twitter'><a href="https://www.twitter.com/cinemmerse" class="follow-link follow-link-twitter follow-link-site" title="Follow us on Twitter">Twitter</a>
</div><div class='follow-link-wrapper follow-link-wrapper-linkedin'><a href="https://www.linkedin.com/in/wendydent" class="follow-link follow-link-linkedin follow-link-site" title="Follow us on LinkedIn">LinkedIn</a>
</div></div>  </div>

 </div> <!-- /.block --></div>
  <!-- /.region --></div>
              <div id="bottom3"><div class="region region-footer-third">
  <div id="block-twitter-block-1" class="block block-twitter-block">

     <h2 >Join the conversation at:</h2>

     <div class="content">
       <a href="https://twitter.com/@cinemmerse" class="twitter-timeline" data-widget-id="513805320578019329" data-theme="dark" data-tweet-limit="2" data-aria-polite="polite">Tweets by @cinemmerse</a>  </div>

</div> <!-- /.block --></div>
<!-- /.region --></div>
       </div>
   </div>

 <div id="copyright">
  Copyright &copy; 2016, . | Theme by  <a   href="http://www.devsaran.com">Devsaran</a>
 </div>
  <!--END footer -->
</div>  <script type="text/javascript" src="//platform.twitter.com/widgets.js">    </script>
</body>
</html>

0 个答案:

没有答案