0

Yes, the saga continues: Presently the only reliable way of getting vertical alignment within nested DIVs is supposedly to use a display-table; property.

Here's a simple fiddle showing it not working: http://jsfiddle.net/aDbFb/1/

or have I misunderstood the trick?

Community
  • 1
  • 1
feetwet
  • 2,914
  • 7
  • 41
  • 80

1 Answers1

1

You don't need to use float property when you are using display:table and table-cell. So just remove them from your inline style and then everything will work as expected.

Js Fiddle Example

Sachin
  • 39,043
  • 7
  • 86
  • 102