I'm currently working on a new website, but I'm encountering an issue with its display in IE8. The social bar is not aligning correctly and is floating down instead of staying to the right like it does in other browsers. This misalignment is causing the navigation bar and search bar to be pushed down under the slideshow. I have already included the html5 shiv in the code as well.
#header-right { width: 560px; height: 400px; margin-top: 30px; float: right; height: 189px;}
.social-widget { width: 100%; height: 46px; display: block;}
.social-widget p {float: right;}
.social-widget img {margin: 0 5px 0 5px; float: left;}
.search-widget { width: 400px; float: right;}
#banner { margin-top: 240px; clear: both; width: 1003px; margin: 0px auto;}
HTML
<div id="header-right">
<span class="social-widget"><?php dynamic_sidebar( 'social-media-widget' ); ?></span>
<nav id="access" role="navigation">
<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
</nav><!-- #access -->
<span class="search-widget"><?php dynamic_sidebar( 'search-widget' ); ?></span>
</div><!-- #header-right -->
</header><!-- header -->
I would appreciate any advice or suggestions on how to fix this issue for IE8. Thank you.c