Jump to content

Very Minor But Annoying


miocene
 Share

Recommended Posts

Please see my site at cforcfoundation.org.In the footer, at the bottom-right, there is a link for the rss feed. Is there a way to get the text vertically aligned centrally with the rss icon?I have tried

vertical-align: middle

and various paddings etc but I can't get it to align.The image is an inline image rather than a css-called background image.any help appreciated

Link to comment
Share on other sites

I applied it to the whole <p> (which contained the image) but it didn't work...
You have to apply it directly to the <img> element. That's the element that you're trying to align respect to the text.
img { vertical-align: middle; }

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...