CSS WordPress question

by 4 replies
5
have a wordpress site with this in css:

body > header .inner-content .right .contact-info .skype {
padding-top:10px;
margin-top:11px;
float:left;
width:136px;
margin-left:7px;
text-decoration: none;

}

body > header .inner-content .right .contact-info .skype > img {
float:left;
width:26px;
text-decoration: none;

}

.skype {
text-decoration: none;

}

And, then here's what's in the header file:

<div class="skype">
<a href="skype:personsnameonskype?call">
<img src="<?php echo get_template_directory_uri(); ?>/images/skype_icon.png" alt="Contact Person Internationally on Skype"/><span>SKYPE</span></a>
</div>
</div>

Question is....

The word SKYPE should come up as a live link to the right and middle of the Skype image. It is to the right of the image, but it's at the bottom. So, it's not centered. What css change needs to occur here to make the text in the middle? I've tried the following on all three places and neither seems to take effect.

{
vertical-align:middle;
}
#programming #css #question #wordpress
  • Can you provide a link to the site? There's no way to tell without seeing it.
    • [1] reply
    • zzzzzz dot com, top right corner is where the skype text link is
  • Honestly just use the skype logo. Here's a quick dirty fix.

    <span style='position:relative; top:-6px;'>SKYPE</span>
    • [1] reply
    • yep, tried to suggest that...that worked, thx!

Next Topics on Trending Feed