Replies: 1   Views: 2734
Can't set font size to html
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by gh_ost  · 20-10-2017 - 10:13

Hi! PhpDocx premium version can't set font size to HTML. How can i solve this problem? 

$html = '<style>
            table {border: 0;border-collapse: collapse; font-size: 14px !important;}
            td {border: 1px solid black;font-size: 14px !important;}
$html .= '<table style="font-size: 14px"><tbody>';
$html .= '<tr><td>'.trans('persons.degree_exist').'</td><td>'.$degreeHas.'</td></tr>';
$html .= '</tbody></table>';