Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is -webkit-column-break-before supported in Android 2.3 WebView?

I'm trying to use CSS3 multi-column column layout in my android application using WebView, but want to make sure there is always a break before h1 tags. This rule seems to work in Android 4.0 WebView, but looks like it's ignored in 2.3.3. Has anyone got this to work?

like image 770
sguha Avatar asked Feb 18 '12 23:02

sguha


1 Answers

Unfortunately this proprietary CSS property is not supported in WebKit browsers version 533 and below. Try to use native CSS3 property instead: column-break-before

See also here for more details on how to use this CSS3 property: http://www.vanseodesign.com/css/multi-columns/

like image 141
Bud Damyanov Avatar answered Oct 10 '22 03:10

Bud Damyanov