Forum Moderators: not2easy
I'm trying to add a link to an image and then center it within a div.
I'm using this:
<a href="#"><img class="rss" src="#" alt="RSS" title="RSS" height="19" width="19" /></a>
.rss {
margin: 0 auto;
display: block;
}
This centers the image but the entire line then turns into a link instead of just the image (in FF).
What's the best way to achieve this?