Ver Mensaje Individual
  #3 (permalink)  
Antiguo 20/12/2013, 06:53
patricia2014
 
Fecha de Ingreso: diciembre-2013
Mensajes: 3
Antigüedad: 10 años, 4 meses
Puntos: 0
Respuesta: html impresión, se superpone encabezado al contenido

Gracias.
Probé lo que me sugeriste pero sigue sin tomarme el margen superior. Adjunto código completo:




Código HTML:
Ver original
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2.     <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252">
  3.     <TITLE> </TITLE>
  4.     <META NAME="GENERATOR" CONTENT="OpenOffice.org 3.3  (Win32)">
  5.     <META NAME="AUTHOR" CONTENT="psivori">
  6.     <META NAME="CREATED" CONTENT="20131211;11420000">
  7.     <META NAME="CHANGEDBY" CONTENT="patricia ">
  8.     <META NAME="CHANGED" CONTENT="20131220;10450547">
  9.     <META NAME="Originator" CONTENT="Microsoft Word 12">
  10.     <META NAME="ProgId" CONTENT="Word.Document">
  11.     <STYLE TYPE="text/css">
  12.     @media all {
  13.         .divHeader, .divFooter { display: none; }
  14.     }
  15.     @media print { 
  16.         .divHeader {
  17.             display: block;
  18.             position: fixed;
  19.             top: 0;
  20.         }
  21.         .divFooter {
  22.             display: block;
  23.             position: fixed;
  24.             bottom: 0;
  25.         }
  26.         .divContent{
  27.             position: relative;
  28.             margin-top: 5cm;
  29.     }
  30.     </STYLE>
  31. </HEAD>
  32. <BODY LANG="en-US" TEXT="#000000" LINK="#0000ff" VLINK="#800080" DIR="LTR">
  33. <div class = "divHeader">HEADER - HEADER - HEADER - HEADER - HEADER - HEADER - HEADER - HEADER - HEADER - HEADER - HEADER - HEADER - HEADER - HEADER - HEADER - HEADER - HEADER - HEADER - HEADER - HEADER
  34. </div>
  35. <div class = "divFooter">FOOTER - FOOTER - FOOTER - FOOTER - FOOTER - FOOTER - FOOTER - FOOTER - FOOTER - FOOTER - FOOTER - FOOTER - FOOTER - FOOTER - FOOTER - FOOTER - FOOTER - FOOTER - FOOTER - FOOTER - FOOTER
  36. </div>
  37. <div class = "divContent">
  38. <P STYLE="margin-top: 0.17in; margin-bottom: 0.08in; page-break-after: avoid">
  39. <FONT SIZE=2 STYLE="font-size: 11pt"><SPAN LANG="es-UY"><B>%%VARIABLE1%%</B></SPAN></FONT></P>
  40. <TABLE WIDTH=740 BORDER=1 CELLPADDING=0 CELLSPACING=0>
  41.     <COL WIDTH=216>
  42.     <COL WIDTH=494>
  43.     <TR VALIGN=TOP>
  44.         <TD WIDTH=216 BGCOLOR="#313896"></TD>
  45.         <TD WIDTH=494 BGCOLOR="#313896">
  46.             <P LANG="es-UY" STYLE="margin-top: 0.03in; border: none; padding: 0in">
  47.             <FONT COLOR="#ffffff"><B>Informaci&oacute;n</B></FONT></P>
  48.         </TD>
  49.     </TR>
  50.     <TR>
  51.         <TD WIDTH=216>
  52.             <P LANG="es-UY" STYLE="border: none; padding: 0in">ID</P>
  53.         </TD>
  54.         <TD WIDTH=494>
  55.             <P LANG="es-UY" STYLE="border: none; padding: 0in"><FONT COLOR="#808080"><FONT FACE="Arial, sans-serif"><I>%%VARIABLE2%%</I></FONT></FONT></P>
  56.         </TD>
  57.     </TR>
  58.     <TR>
  59.         <TD WIDTH=216>
  60.             <P LANG="es-UY" STYLE="border: none; padding: 0in">Creador</P>
  61.         </TD>
  62.         <TD WIDTH=494>
  63.             <P LANG="es-UY" STYLE="border: none; padding: 0in"><FONT COLOR="#808080"><FONT FACE="Arial, sans-serif"><I>[Owner
  64.             Name]</I></FONT></FONT></P>
  65.         </TD>
  66.     </TR>
  67.     <TR>
  68.         <TD WIDTH=216>
  69.             <P LANG="es-UY" STYLE="border: none; padding: 0in">Fecha de
  70.             creaci&oacute;n</P>
  71.         </TD>
  72.         <TD WIDTH=494>
  73.             <P LANG="es-UY" STYLE="border: none; padding: 0in"><FONT COLOR="#808080"><FONT FACE="Arial, sans-serif"><I>[Date]</I></FONT></FONT></P>
  74.         </TD>
  75.     </TR>
  76.     <TR>
  77.         <TD WIDTH=216>
  78.             <P LANG="es-UY" STYLE="border: none; padding: 0in">Ultima fecha de
  79.             salvado</P>
  80.         </TD>
  81.         <TD WIDTH=494>
  82.             <P LANG="es-UY" STYLE="border: none; padding: 0in"><FONT COLOR="#808080"><FONT FACE="Arial, sans-serif"><I>[Date]</I></FONT></FONT></P>
  83.         </TD>
  84.     </TR>
  85.     <TR>
  86.         <TD WIDTH=216>
  87.             <P LANG="es-UY" STYLE="border: none; padding: 0in">Nombre de
  88.             archivo</P>
  89.         </TD>
  90.         <TD WIDTH=494 VALIGN=TOP>
  91.             <P LANG="es-UY" STYLE="border: none; padding: 0in"><FONT COLOR="#808080"><I>[Name]</I></FONT></P>
  92.         </TD>
  93.     </TR>
  94. <P><BR><BR>
  95. </P>
  96. <P STYLE="margin-top: 0.08in; margin-bottom: 0.08in"><A NAME="_Toc55385093"></A>
  97. <FONT COLOR="#0000ff"><FONT FACE="Arial, sans-serif"><FONT SIZE=2><SPAN LANG="es-UY">%%VARIABLE3%%</SPAN></FONT></FONT></FONT></P>
  98. <P LANG="es-UY" STYLE="margin-top: 0.08in; margin-bottom: 0.08in"><FONT COLOR="#0000ff"><FONT FACE="Arial, sans-serif"><FONT SIZE=2>%%VARIABLE4%%</FONT></FONT></FONT></P>
  99. <P STYLE="margin-top: 0.08in; margin-bottom: 0.08in"><BR><BR>
  100. </P>
  101. <P LANG="en" STYLE="margin-top: 0.08in; margin-bottom: 0.08in"><B>T&aacute;ltos</B></P>
  102. <P STYLE="margin-top: 0.08in; margin-bottom: 0.08in"><SPAN LANG="en">The
  103. </SPAN><SPAN LANG="en"><B>t&aacute;ltos</B></SPAN><SPAN LANG="en">
  104. (also &quot;t&aacute;tos&quot;) Hungarian pronunciation:&nbsp;
  105. is a figure in  similar to a .</SPAN></P>
  106. <P STYLE="margin-top: 0.08in; margin-bottom: 0.08in"><SPAN LANG="en">According
  107. to Roman Catholic priest , in his book &quot;Magyar mitol&oacute;gia&quot;
  108. (Hungarian Mythology) from 1854, a </SPAN><SPAN LANG="en"><I>t&aacute;ltos</I></SPAN><SPAN LANG="en">
  109. was in direct contact with God during the </SPAN>
  110. <SPAN LANG="en">period. Once born, the </SPAN><SPAN LANG="en"><I>t&aacute;ltos</I></SPAN><SPAN LANG="en">
  111. had a special mission in life to cure both body and soul of other
  112. members of society. The </SPAN><SPAN LANG="en"><I>t&aacute;ltos</I></SPAN><SPAN LANG="en">
  113. could be either male or female, and should be born with more bones
  114. than the usual, like six fingers (altogether 11 or 12 fingers) or
  115. already-grown-in teeth. A </SPAN><SPAN LANG="en"><I>t&aacute;ltos</I></SPAN><SPAN LANG="en">
  116. could also be born with the </P>
  117. <P STYLE="margin-top: 0.08in; margin-bottom: 0.08in"><SPAN LANG="en">During
  118. their childhood, they had to be brought up in secret to learn
  119. everything to be some kind of .</SPAN></P>
  120. <P STYLE="margin-top: 0.08in; margin-bottom: 0.08in"><SPAN LANG="en">The
  121. </SPAN><SPAN LANG="en"><I>t&aacute;ltos</I></SPAN><SPAN LANG="en">
  122. was able to go into a deep meditation called &quot;r&eacute;v&uuml;l&eacute;s&quot;,
  123. and in such a state could cure sickness of any kind. The t&aacute;ltos
  124. also had a mission to communicate with the entire Hungarian nation in
  125. a time of danger, to warn against invading armies or an impending
  126. cultural collapse.</SPAN></P>
  127. <P STYLE="margin-top: 0.08in; margin-bottom: 0.08in"><SPAN LANG="en">According
  128. to general consensus, the </SPAN><SPAN LANG="en"><I>t&aacute;ltos</I></SPAN><SPAN LANG="en">
  129. were considered as part of pagan religion, and were persecuted in a
  130. witch-hunt during the reign of King. There is evidence, though, that the </SPAN><SPAN LANG="en"><I>t&aacute;ltos</I></SPAN><SPAN LANG="en">
  131. were still existing until the
  132. era, when this tradition was terminated.  made a law requiring that all babies born with teeth or
  133. with six fingers (or a caul) be reported and killed, a deliberate act
  134. against surviving </SPAN><SPAN LANG="en"><I>t&aacute;ltos</I></SPAN><SPAN LANG="en">.</SPAN><SPAN LANG="en">
  135. The painted ceiling of the church of Sz&eacute;kelyderzsi had a
  136. figure with six fingers, it was renovated, &quot;correcting&quot; the
  137. picture to five fingers.</SPAN></P>
  138. <P STYLE="margin-top: 0.08in; margin-bottom: 0.08in"><SPAN LANG="en">According
  139. to Christian folklore tradition, the </SPAN><SPAN LANG="en"><I>&eacute;gi</I></SPAN><SPAN LANG="en">
  140. </SPAN><SPAN LANG="en"><I>t&aacute;ltos</I></SPAN><SPAN LANG="en">
  141. (or heavenly t&aacute;ltos) is .</SPAN></P>
  142. <P LANG="en" STYLE="margin-top: 0.08in; margin-bottom: 0.08in"><B>Origin
  143. of the word</B></P>
  144. <P STYLE="margin-top: 0.08in; margin-bottom: 0.08in"><SPAN LANG="en">The
  145. name &quot;T&aacute;ltos&quot; is of unknown origin, but most
  146. probably correlating to &quot;t&aacute;t&quot;, which is to &quot;open
  147. wide&quot;; i.e. they &quot;opened themselves to the world.&quot;
  148. Other theories state it comes from </SPAN>
  149. <SPAN LANG="en"><I>taitaa</I></SPAN> <SPAN LANG="en">meaning &quot;to
  150. know, understand&quot;, or from the derivative of </SPAN>
  151. <SPAN LANG="en"><I>talt</I></SPAN> <SPAN LANG="en">meaning
  152. &quot;unconsciousness&quot;.</SPAN></P>
  153. </div>
  154. </BODY>
  155. </HTML>

Última edición por pzin; 20/12/2013 a las 10:32 Razón: formato código