Copy link to clipboard
Copied
When exporting and saving as html, the HTML export options dialog box does not have a setting to specify a margin like helpx.adobe.com/indesign article says it should. Resulting html page does not have any outside margin. Updated to InDesign version 19.3, didn't help. How can I set some margin on the html page?
Copy link to clipboard
Copied
I don't recall there ever being margin settings on HTML export. There is such a setting on EPUB export — but it is nonfunctional other than to write values to the EPUB file that are ignored by nearly all readers.
HTML export from ID is an odd combination of 'very powerful' and 'nearly useless unless you write your own CSS style code for most elements.' If you want general margins, add them to a body { } element in CSS.
However, keep in mind that HTML export has had a crippling bug for several versions now: it writes user CSS calls to the file ahead of the base, ID-generated one. This means most or all custom CSS is overwritten or reset. You have to open the exported file and swap the order of the CSS file statements... on every export.