Forum


Replies: 1   Views: 3156
The css style content is displayed in the generated docx
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 huangxin0921  · 17-03-2017 - 20:39

Hi, I am using laravel. The style files is: 

<style type="text/css">

body {
    /*background-color: transparent;*/
    /*margin: 0px;*/
    /*padding:0px;*/
    font-family: arial, helvetica, sans-serif;
    /*color:#77787b;*/
    font-size:10px;
    line-height: 1.333;
}


.title, h1 {
    font-family: arial, helvetica, sans-serif;
    color: #000000;
    font-size: 15px;
    margin: 0;
    font-weight: bold;
}

.subhead {
    color:#000;
    font-size:10px;
    line-height: 125%;
    letter-spacing:-.02em;
    font-weight:bold;
    text-transform:uppercase;
    margin-top:5px;
}

img {
  width: 130px;
}

.noindent {

}

.noindent li{
  padding-top: 3px;
  padding-bottom: 3px;
}

.noindent li:first-child {
  padding-top: 10px;
}

.noindent li:last-child {
  padding-bottom: 10px;
}

/*
.subhead ul {
    margin-top:1px;
    margin-left:1px;
    padding-left:0;
}

.subhead ul li {
    margin-bottom:1px;
}*/


</style>
 

The generated docx below contains the css raw content. Can you help me check the issue? Thanks.

 

body { /*background-color: transparent;*/ /*margin: 0px;*/ /*padding:0px;*/ font-family: arial, helvetica, sans-serif; /*color:#77787b;*/ font-size:10px; line-height: 1.333; } .title, h1 { font-family: arial, helvetica, sans-serif; color: #000000; font-size: 15px; margin: 0; font-weight: bold; } .subhead { color:#000; font-size:10px; line-height: 125%; letter-spacing:-.02em; font-weight:bold; text-transform:uppercase; margin-top:5px; } img { width: 130px; } .noindent { } .noindent li{ padding-top: 3px; padding-bottom: 3px; } .noindent li:first-child { padding-top: 10px; } .noindent li:last-child { padding-bottom: 10px; } /* .subhead ul { margin-top:1px; margin-left:1px; padding-left:0; } .subhead ul li { margin-bottom:1px; }*/ 

Robert cdferrf

body { /*background-color: transparent;*/ /*margin: 0px;*/ /*padding:0px;*/ font-family: arial, helvetica, sans-serif; /*color:#77787b;*/ font-size:10px; line-height: 1.333; } .title, h1 { font-family: arial, helvetica, sans-serif; color: #000000; font-size: 15px; margin: 0; font-weight: bold; } .subhead { color:#000; font-size:10px; line-height: 125%; letter-spacing:-.02em; font-weight:bold; text-transform:uppercase; margin-top:5px; } img { width: 130px; } .noindent { } .noindent li{ padding-top: 3px; padding-bottom: 3px; } .noindent li:first-child { padding-top: 10px; } .noindent li:last-child { padding-bottom: 10px; } /* .subhead ul { margin-top:1px; margin-left:1px; padding-left:0; } .subhead ul li { margin-bottom:1px; }*/ 

Associate

 rheroXXux@XXX.com
 T (23312) 343-223
 F (9137) 2306-43334


Robert cdferrf joined  AMCE INC in 2007. His practice focuses on a wide range of transactional tax matters. Mr. Robert has substantial experience with limited liability company and partnership issues, tax-free and taxable corporate mergers, acquisitions, spin-offs and liquidations and structuring private client investments. He has also been involved in a broad array of private equity, venture capital, hedge fund.