不要在标题中看到标志
问题描述:
我在标题中有两个标志(即时通讯使用customizr主题),但在Chrome中我只看到1个标志并且在firefox 2标志中。不要在标题中看到标志
在谷歌浏览器:
和Mozille火狐:
我的问题是,为什么我只看到1标志的镀铬?
我给这家代码:
<header class="<?php echo implode(" ", apply_filters('tc_header_classes', array('tc-header' ,'clearfix', 'row-fluid'))) ?>" role="banner">
<div style = 'position: absolute; top: 10px; right: 20px;'>
<a href = 'http://localhost/wordpress/wordpress/et/'><img src = 'http://www.wizards.com/events/images/flag_Estonia.jpg' /></a>
<a href = 'http://localhost/wordpress/wordpress/en/'><img src = 'http://www.hans-pedersen.com/en/img/icon-english.gif' /></a>
</div>
<div style = 'position: absolute; right: 100px; top: 10px; z-index: 201'>
<?php wp_loginout(); ?>
</div>
<div style = 'position: relative; right: 80px;'>
<?php
// The '__header' hook is used with the following callback functions (ordered by priorities) :
//TC_header_main::$instance->tc_logo_title_display(), TC_header_main::$instance->tc_tagline_display(), TC_header_main::$instance->tc_navbar_display()
do_action('__header');
?>
</div>
</header>
我已经尝试过移动标志合适的位置,以40,100 ...,但是什么都没有。
有人可以帮我或提供一些线索:)谢谢!
答
尝试从标志div中删除位置样式,因为这一个标志没有正确显示。现在只是空着,并检查标志显示的位置。
<div style = ''>
<a href = 'http://localhost/wordpress/wordpress/et/'><img src = 'http://www.wizards.com/events/images/flag_Estonia.jpg' /></a>
<a href = 'http://localhost/wordpress/wordpress/en/'><img src = 'http://www.hans-pedersen.com/en/img/icon-english.gif' /></a>
</div>
您能否给我网站链接?我会为你提供解决方案,希望它的css问题! – Iffi 2015-04-06 10:26:50
对不起,但它在本地主机:S – frantsium 2015-04-06 10:27:20