I am having trouble centering an image in my footer. I have tried various solutions but none seem to work. Can someone please take a look at my code and help me out?
HTML
<div class="center">
<ul>
<li><a href="#" target="_blank" class="centering_"></a></li>
</ul>
</div>
CSS:
.center
{
width: 84px;
margin: 0 auto;
}
.center ul
{
width: 209px;
line-height: normal;
}
.center ul li
{
float: left;
margin-right: 11px;
}
.center ul li.last
{
margin-right: 0px;
}
.center ul li a
{
display: block;
height: 33px;
width: 33px;
}
.centering_ {background: transparent url('../images/hello.png') no-repeat;}
EDIT: Here is a example in jsFiddle: http://jsfiddle.net/XJbaM/
I have two icons in my footer and I am looking to remove the right one and center the left one. The text above the icons is already centered.
SOLVED