Skip to content

Commit 6c3088e

Browse files
committed
Merge pull request #378 from franzholz/patch-4
Update Head.php
2 parents 556a8b5 + 27b0c69 commit 6c3088e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/PhpWord/Writer/HTML/Part/Head.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,14 @@ private function writeStyles()
9797
'border' => '0',
9898
'border-top' => '1px solid #CCC',
9999
),
100+
'table' => array(
101+
'border' => '1px solid black',
102+
'border-spacing' => '0px',
103+
'width' => '100%',
104+
),
105+
'td' => array(
106+
'border' => '1px solid black',
107+
),
100108
);
101109
foreach ($defaultStyles as $selector => $style) {
102110
$styleWriter = new GenericStyleWriter($style);

0 commit comments

Comments
 (0)