Hi,
I am trying to insert html fragment in a table. It seems HtmlFragment element is adding default top padding to the contents. I am trying to remove the padding. But it is not working.
Can you please look into this.
I tried all the following options:
HtmlFragment fgmt = new HtmlFragment("<div style=“background-color:red;padding-top:0;”>test
");HtmlFragment fgmt = new HtmlFragment("<span style=“padding-top:1pt;background-color:red;”>test");
HtmlFragment fgmt = new HtmlFragment("<p style=“padding-top:1pt;background-color:red;”>test");
HtmlFragment fgmt = new HtmlFragment("<p style=“padding-top:1px;background-color:red;”>test");
Thanks
Mamatha