Commit 40b59b2a authored by Julie Blanc's avatar Julie Blanc

change link to the script

parent a52e8ed1
......@@ -4,10 +4,10 @@
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title>
Fichier test
counter(page)
</title>
<script src="http://localhost:9090/dist/paged.polyfill.js"></script>
<script src="https://unpkg.com/pagedjs/dist/paged.polyfill.js"></script>
<style>
......@@ -17,16 +17,11 @@
@page {
size: 6in 8in;
margin: 20mm 20mm;
/* border: solid 1px black; */
@bottom-left{
content: counter(page);
}
}
/* h1{
break-before: page;
page-break-before: always;
} */
p {
line-height: 22px;
......
......@@ -4,10 +4,10 @@
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title>
Fichier test
counter(pages)
</title>
<script src="http://localhost:9090/dist/paged.polyfill.js"></script>
<script src="https://unpkg.com/pagedjs/dist/paged.polyfill.js"></script>
<style>
......@@ -17,16 +17,12 @@
@page {
size: 6in 8in;
margin: 20mm 20mm;
/* border: solid 1px black; */
@bottom-left{
content: counter(page) " / " counter(pages) ;
}
}
h1{
break-before: page;
page-break-before: always;
}
p {
line-height: 22px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment