0

I am using AbcPdf to convert pdf files into html pages. It works well but the conversion process adds page number in the header of the pages. Can I remove them?

<div style="margin:1ex;">
    <div style="width:100%">
        <table style="border:0;width:100%;">
            <tbody>
                <tr>
                    <td bgcolor="eeeeee" align="right">
                        <font face="arial,sans-serif"> <b>Page 1</b> </font> 
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
isherwood
  • 58,414
  • 16
  • 114
  • 157
  • Does AbcPdf let you create HTML pages? I don't see where their site mentions that. At any rate, what does the header HTML look like? – isherwood Mar 25 '14 at 13:14
  • Yes, the save method of the WebSupergoo.ABCpdf8.Doc object allows to export a document as html. This is the header added by the conversion process: http://uptiki.altervista.org/viewer.php?file=5mrgfidpq6kbdldqryz3.png Thanks. – user3459517 Mar 25 '14 at 14:16
  • I asked for HTML, not a screenshot. I'm wondering whether you can simply remove the element with CSS. – isherwood Mar 25 '14 at 18:35
  • Ah, ok, sorry. But I wanted to know if there was a setting for ABCPDF in order to ensure that the header is not generated. This is the header added to page:
    Page 1
    – user3459517 Mar 26 '14 at 09:02
  • Code goes in your question, not in comments. – isherwood Mar 26 '14 at 13:09
  • That's some really awful HTML. A table with one cell is just clutter and can be confusing for screen reader users. The font tag is deprecated. Inline CSS isn't ideal. You can probably target the page numbers with CSS or jQuery, but I'd seriously consider a different approach. – isherwood Mar 26 '14 at 13:13

0 Answers0