Min-height causes page break
Having trouble installing Oxygen PDF Chemistry? Got a bug to report? Post it all here.
			- 
				jhanna
 - Posts: 19
 - Joined: Mon Aug 17, 2020 6:29 pm
 
Min-height causes page break
Hello,
I am trying to apply a minimum height to a topic element, using the following css:
Here is the result (showing pages 1 and 2):
Thanks,
Jonathan
			
			
						I am trying to apply a minimum height to a topic element, using the following css:
Code: Select all
@page {
    padding-top:0em;
    padding-bottom:0em;
    size: us-letter;    
    margin: 1in;
}
.topic {
    border: 1px solid red;
    margin: 0;
    min-height: 2in;
}
min-height.png
As you can see, there is plenty of room on the first page for "Topic 4," yet it gets pushed to the second page. I do not run into the problem if I use "height" instead of "min-height":
height.png
Is this just a bug with min-height or am I doing something wrong?Thanks,
Jonathan
You do not have the required permissions to view the files attached to this post.
			
									
						- 
				julien_lacour
 - Posts: 727
 - Joined: Wed Oct 16, 2019 3:47 pm
 
Re: Min-height causes page break
Post by julien_lacour »
Hello Jonathan,
Is it possible for you to send this sample and its full CSS customization by mail at support@oxygenxml.com?
I will try to test on my side and see if I reproduce the problem.
Regards,
Julien
			
			
									
									
						Is it possible for you to send this sample and its full CSS customization by mail at support@oxygenxml.com?
I will try to test on my side and see if I reproduce the problem.
Regards,
Julien
			
				Jump to
				
			
		
			
			
	
	- Oxygen XML Editor/Author/Developer
 - ↳ Feature Request
 - ↳ Common Problems
 - ↳ DITA (Editing and Publishing DITA Content)
 - ↳ Artificial Intelligence (AI Positron Assistant add-on)
 - ↳ SDK-API, Frameworks - Document Types
 - ↳ DocBook
 - ↳ TEI
 - ↳ XHTML
 - ↳ Other Issues
 - Oxygen XML Web Author
 - ↳ Feature Request
 - ↳ Common Problems
 - Oxygen Content Fusion
 - ↳ Feature Request
 - ↳ Common Problems
 - Oxygen JSON Editor
 - ↳ Feature Request
 - ↳ Common Problems
 - Oxygen PDF Chemistry
 - ↳ Feature Request
 - ↳ Common Problems
 - Oxygen Feedback
 - ↳ Feature Request
 - ↳ Common Problems
 - Oxygen XML WebHelp
 - ↳ Feature Request
 - ↳ Common Problems
 - XML
 - ↳ General XML Questions
 - ↳ XSLT and FOP
 - ↳ XML Schemas
 - ↳ XQuery
 - NVDL
 - ↳ General NVDL Issues
 - ↳ oNVDL Related Issues
 - XML Services Market
 - ↳ Offer a Service