Ok I am editing a wordpress theme i purchased however I am trying to align an image that doesnt seem to want to line up… Most likely Im doing it wrong and this is hopefully where you come in…
Site/Beta Version: Avillafan Beta
Now I want the newsnow image to go in the center of that space.
The coding in the header reads:
<div id="logo">
<a href="<?php bloginfo('url'); ?>">
<?php if ( $logo = get_option('of_logo') ) { ?>
<img src="<?php echo $logo; ?>" alt="<?php bloginfo( 'name' ); ?>" />
<?php } else { ?>
<img src="<?php echo bloginfo('stylesheet_directory') ?>/functions/theme-admin/images/logo.png" alt="" />
<?php } ?>
</a>
</div>
<div class="newsnow"><a href="http://www.NewsNow.co.uk/nn/Avillafan" target="_blank"><img src="http://www.avillafan.com/newsnow.gif"/></a></div>
And My CSS Reads:
#logo {
float:left;
display: inline;
margin-bottom: 0px;
margin-top: 3px;
}
/* NEWSNOW */
#newsnow {
float: right;
display: inline;
margin-top: 20px;
padding-top: 100px;
}
So if someone could help me achieve what Im trying to achieve it would be much appreciated.