Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • pagedjs pagedjs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 202
    • Issues 202
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pagedjs
  • pagedjspagedjs
  • Issues
  • #367

Closed
Open
Created Apr 14, 2022 by Anders Kagervall@kagervall

Different generated content in :first page than in page 2 and up don't work

I'm trying to design a template with different margin-top and margin-bottom content on first page than all following pages. The first page should have an empty margin-top and a margin-bottom with "complex" content picked upp from the html. The following pages should have a margin-top with a running title picked up from the html (but no need for complex content) and margin-bottom should have a page counter.

A document that I think (I'm a CSS newbie :-) ) should work is at https://kagervall.se/SLUdown/generated-margin-content.html but the first page margin-bottom gets a page counter instead of the complex footer. A similar document with the generated content replaced with hard coded content string seem to work as I expect https://kagervall.se/SLUdown/fixed-margin-content.html

Should this be possible? Bug in paged.js or my HTML/CSS?

paged.polyfill.js was build from github

chrome 100.0.4896.88 on Debian was used to preview

Edited Apr 15, 2022 by Anders Kagervall
Assignee
Assign to
Time tracking