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 204
    • Issues 204
    • 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
  • #350

Closed
Open
Created Oct 07, 2021 by Boris Budini@kominoshja🛡Owner

Div with height does not trigger page break

The DIV is used to load maps via OpenLayers:

<div style="background: red; height: 300px; width:300px;">Test</div>

But this is not working: Image_Pasted_at_2021-10-7_09-49

My working but "ugly" solution is:

<div>
  <img width="1" height="300" style="width: 0;" src="">
  <div style="background: red; float:left; height: 300px; width:300px;">Test</div>
</div>

Screenshot_from_2021-10-07_10-38-03

Assignee
Assign to
Time tracking