uiwebview and CSS text shadow
I am having an annoying bug with uiwebview and CSS/HTML content:
As you can notice, some lines of text appears without the shadow effect. All the text is located inside the same div with same style. Why isn't uniform?
#style
{
background-color: lightgray;
font-size: 50px;
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
color: #504f4f;
text-shadow: #fff 0px 1px 0px;
text-align: justify;
}
I load the html page into a uiwebview开发者_运维问答 as a modal view.
Please help me. Thanks in advance.
Its most likely to do with the zoom level of the UIWebView. There are many little display errors like this in UIWebView. It could well be solved my making your text strong, or increasing the text size.
精彩评论