• Register
Welcome to the in5 Answer Exchange! This a place to get answers about in5 (InDesign to HTML5) and make requests.

Export selection without anything around, without absolute positionning

0 votes
Hi,

When exporting the selection, the output HTML contains the page frame and the selection is positionned in that page frame, with absolute coordinates in the produced CSS.

Is there a way to only export the selection, without being positionned, and without the page frame around it, and with relative coordinates for all the elements inside?

The reason is that I need to export many pieces of InDesign documents, so that a user can reassemble them in a web page.

Thank you very much for your work and your answer!

Kind regards,
Fred
asked May 18 in feature_requests by fruityfred (120 points)
edited May 18 by fruityfred
    

1 Answer

0 votes
No, I tried to build it that way initially, but using the entire page container is the only way to get the correct positioning for the elements inside.
answered May 29 by justin (111,760 points)
Thank you for your answer!

I understand what you mean, but in my case, I only want the selection to be exported, not the entire page. For now, it is exported without the other elements of the page but with the page frame, and the selection is absolutely positioned.
Yes, that is by design.

The export selection feature is primarily for animation.

Several of the animation start in one place and end in another.

If only the final location were exported, the animation would not show (since it would start outside of the rectangle that was exported). Therefore the entire page area is exported, because it is the maximum possible area where a single element can have an effect.
...