Graphics not appearing properly over print layout of web view

Discussion in 'Mac Programming' started by Monaj, Sep 7, 2010.

  1. Monaj macrumors regular

    May 24, 2009
    Hi all,

    I am trying to obtain print of html content over web view, using this method :

    [sampleWebView print:nil]; // where sampleWebView is an object of WebView

    In html I am drawing a line using this-

    <hr size=\"4\" noshade=\"noshade\" class=\"style1\" />

    And a small colored circle using this-

    In web view it is appearing properly like this:


    but in print preview it is appearing improperly like this:


    Neither line nor small colored dot is appearing properly in print layout?

    Can any one suggest me some solution for it?



Share This Page