user2166577
user2166577

Reputation:

Having an image inline with anchor text in list

Here's what I've got so far: http://jsfiddle.net/dDK6z/

I have tried things such as display:inline(-block) and added margins, padding etc. but none of these move the image down / text up.

Any ideas?

Upvotes: 0

Views: 460

Answers (1)

Antony
Antony

Reputation: 15104

Are you trying to vertically align the image?

img { 
   vertical-align: middle;
}

See DEMO.

Upvotes: 4

Related Questions