HTML2FPDF font is too big

Posted on 2008-11-11
Last Modified: 2012-05-05
I am generating the reports using html2fpdf

The problem is that my fonts are too big and seems like doesn't matter what I do , my font stays the same

 <td>Change font for this</td>
and I used

 <td><font size='xx-small'>Change font for this</font></td>

I also tried <td style='font-size:xx-small;'>Change font for this </td>

but that didn't work either

what can I do
Question by:syedasimmeesaq
    LVL 9

    Author Comment

    no idea guys?
    LVL 107

    Accepted Solution

    You could try posting the PHP and the generated HTML so we can see what you're talking about.  Thanks, ~Ray

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
    Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
    In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
    The viewer will learn how to dynamically set the form action using jQuery.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now