Forum


Replies: 8   Views: 7349
Setting fixed width to first column in an html table
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 davelavinsky  · 21-12-2017 - 15:08

I did that but the last column is still wider than the rest.

    $html .= "<table class='tbl-summary' style='font-size:12px'>";
    $html .= "<thead>
                <th width='500'></th>                
                <th width='250'>FY 1</th>
                <th width='250'>FY 2</th>
                <th width='250'>FY 3</th>
                <th width='250'>FY 4</th>
                <th width='250'>FY 5</th>
              </thead>
              ";

Im using phpdocx-corporate-5.5