Forum


Replies: 2   Views: 3324
Funcion embedhtml no carga css
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 djemix  · 02-06-2014 - 13:46

Hola, tengo el siguiente problema con la funciĆ³n embedHTML. Este es el principio del html que uso:



<!DOCTYPE html>

<html lang="es">

    <head>

        <meta charset="utf-8">

        <title>Informe</title>

        <link rel="stylesheet" type="text/css" href="../comun/css/final.css" />

    </head>

    <body>  

    ......  



Este mismo html si lo ejecuto con el addHTML funciona bien, pero con el embedHTML no lee bien el CSS ni carga el UTF8, ademas que me escribe al principio del documento "<!DOCTYPE html> Informe".



Un saludo!