Cinamonas
Cinamonas

Reputation: 169

vertical-align with length value doesn't work on iOS 8

Apparently, vertical-align with length or percentage value stopped working with iOS 8 (the current latest version – 8.0.2). The interesting thing is that it's still working on <= iPhone 5, but broken on newer devices.

An isolated fiddle: http://jsfiddle.net/6m401xwg/embedded/result/

Is this a known issue? Any workarounds without resorting to other CSS property?

Upvotes: 3

Views: 1440

Answers (1)

Cinamonas
Cinamonas

Reputation: 169

Found a solution to this bug: make the vertical-aligned element display: inline-block. It doesn't work for display: inline elements.

See updated fiddle: http://jsfiddle.net/6m401xwg/2/embedded/result/

Upvotes: 5

Related Questions