Silverfall05
Silverfall05

Reputation: 1127

how to vertical align with different content

http://jsfiddle.net/D35dJ/6/

Why when I have different content in paragraph .info change his vertical position, example in link

Upvotes: 1

Views: 51

Answers (2)

Boyye
Boyye

Reputation: 291

Here: http://jsfiddle.net/D35dJ/10/

I changed the display property of your both containers to table-cell. I Also added the property vertical-align. Now it should work!

Upvotes: 2

mash
mash

Reputation: 15229

Adding a vertical-align: top to the .info div, and making it display: inline-block instead of just inline fixed it for me.

Fiddle

Upvotes: 1

Related Questions