html: margins have no effect
See original GitHub issueThe documentation and code suggest that the user can set page margins in the html
method, but they have no effect. The margin options seem to get lost somewhere.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:14
- Comments:31 (4 by maintainers)
Top Results From Across the Web
CSS - What to look for when Margin has no effect [duplicate]
If I try and set a top margin on the Download XML anchor, it has no effect at any size. Why could this...
Read more >html: margins have no effect · Issue #2924 · parallax/jsPDF
The documentation and code suggest that the user can set page margins in the html method, but they have no effect. The margin...
Read more >margin-right does not work
Consequently, it causes the margin-right property not to have any visual effect. In order to see the effect of margin-right, remove width property...
Read more >margin - CSS: Cascading Style Sheets - MDN Web Docs
The top and bottom margins have no effect on non-replaced inline elements, such as <span> or <code> . Horizontal centering. To center something ......
Read more >HTML : CSS - What to look for when Margin has no effect
HTML : CSS - What to look for when Margin has no effect [ Beautify Your Computer : https://www.hows.tech/p/recommended. html ] HTML :...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Jigisha-sublime, I used this as a workaround at least until this issue is fixed and works, and the text is selectable: `const downloadPDF = () => { const content = contentRef.current; if (!content) { return; } const doc = new jsPDF({ orientation: ‘portrait’, unit: ‘pt’, format: ‘a4’, });
}`
hope it helps you as well 😃
@emildatcu I understand that this is frustrating, but please understand that this is a (free!) open source library that’s currently maintained by a single person (me). And I simply don’t have the time to fix everything immediately. Even keeping up with all new issues and pull requests is hard. That’s why it’s open source and everyone can contribute to this project 😃