Drukowana wersja tematu

Kliknij tu, aby zobaczyć temat w orginalnym formacie

Forum PHP.pl _ CSS _ DomPdf - nagłówek tylko na 1szej stronie

Napisany przez: john_doe 26.10.2018, 13:58:21

Używam DomPdf do generowania wydruków w formie PDF.

mam taki styl

  1. body { font-family: DejaVu Sans; }
  2. @page { margin: 130px 25px 75px 25px; }
  3.  
  4. header { position: fixed; top: -110px; left: 0px; right: 0px; background-color: lightgrey; }
  5. footer { position: fixed; bottom: -30px; left: 0px; right: 0px; border-top: solid lightgrey; }


html
  1. <header> jakis header</header>
  2. <footer> footer copyright </footer>
  3.  
  4. <http://december.com/html/4/element/table.html>
  5. ... tabelka z danymi
  6. </http://december.com/html/4/element/table.html>


Chciałbym aby header pojawiał się tylko na 1szej stronie.
Jest @page :first ale ja potrzebuję coś odwrotnego.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)