Re: Image upload issues with upgrade to v6.6

  •  04-22-2010, 10:58 AM

    Re: Image upload issues with upgrade to v6.6

    Hi again
     
    I continued working on the pdf issue and tried it another way. I changed the html defined from above as follows (note: all the other html and code not redefined here is the same as above):

    protected string CouponHtmlHeader=@"<div style='position: relative;'> "

    +@"<img src='http://www.domain.com/images/coupons/hd_coupon.jpg' width='504' height='504' alt='' border='0'>"

    +@"<table height='504' style='position: absolute;top: 0;left: 0;padding-bottom: 20px;border-right: 0px;padding-right: 0px;border-top: 0px;padding-left: 0px;margin: 0px;border-left: 0px;width: 504px;padding-top: 0px;border-bottom: 0px;height: 504px;text-align: center;' cellspacing='0' cellpadding='0' width='504' align='center' border='0'>"

    +@" <tbody>"

    +@" <tr>"

    +@" <td style='text-align: center' valign='middle' align='center' width='504' height='504'>";

    protected string CouponHtmlFooter=@" </td>"

    +@" </tr>"

    +@" </tbody>"

    +@"</table></div>";

     
    So in a web page it displays as:
     
    But the generated pdf looks like:
     
    Its much closer, but still needs to look like the web page. Any ideas on how to mitigate?

    Thanks!
     
     
View Complete Thread