开发者

disable block selection in uIWebview

sometimes in a webview , a user has to catch partial selection in a para. I am trying to do a partial selectio开发者_高级运维n, but instead it selects the entire para with that blue box. Is there a way to get around this ?

Regards Harikant Jammi


Try to change the paragraph css property display to inline-block. This allows partial text select, but can break the layout, so isn't a solution for all cases.

P {
    display:inline-block;
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜