【发布时间】:2019-07-11 12:34:50
【问题描述】:
我在同一行中有两张图片,我想在它们之间放置一些空间。
即使我努力寻找解决方案,目前也没有任何效果。
代码如下:
$section = $phpWord->addSection($PidPageSettings);
$table = $section->addTable();
$logo = 'pearson1' . $clientid . ".png";
$logo2 = 'genesis2' . $clientid . ".png";
// $table = $section->addTable();
// $table->addRow();
// $cell = $table->addCell(20000, array('bgColor' => 'ffffff'));
$table = $section->addTable();
$table->addRow();
$table->addCell(2000, $cellRowSpan)->addImage('pearson1.png',array('width' => '70','height' => '70','valign' => 'left'));
$table->addCell(2000, $cellRowSpan)->addImage('genesis2.png',array('width' => '120','height' => '40'));
【问题讨论】: