Graphics not appearing properly over print layout of web view

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

  1. macrumors regular

    Joined:
    May 24, 2009
    #1
    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:

    [​IMG]

    but in print preview it is appearing improperly like this:

    [​IMG]

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

    Can any one suggest me some solution for it?

    Thanks,

    Monaj
     

Share This Page