Hi,
Whenever I export a document as .xhtml, the page ends up with screwed-up layout. Specifically, instead of subtracting the margins from the total page width, it basically exports a page without margins and then adds margins in addition to the total page width.
An 8-inch page with 1-inch margins is supposed to be a 6-inch writing area with two 1-inch margins (8 inches in total) - that’s how it’s displayed in LibreOffice Writer. But when I export the page as .xhtml, it becomes 8-inch writing area plus two 1-inch margins (10 inches in total instead of 8). The page becomes wider and screws up my formatting, especially the formatting of the images.
Is this a bug, or am I doing something wrong?
P.S. The reason why I’m using .xhtml is because it’s the only format that plays animated gifs. I don’t think I have any alternatives here.