Samui
Samui

Reputation: 1384

uiwebview and CSS text shadow

I am having an annoying bug with uiwebview and CSS/HTML content:

enter image description here

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.

Upvotes: 2

Views: 2407

Answers (1)

Tim Davies
Tim Davies

Reputation: 834

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.

Upvotes: 3

Related Questions