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
  • 3,248
  • 7
  • 46
  • 84

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
  • 40,216
  • 7
  • 90
  • 102