Glad I could help.
I'm replying just to add links to 2 threads on the subject. You'll maybe find some more answers there. The first one created by myself to ask many questions about the "InDesign to ePub" process when I started. Many questions asked and answered there by more advanced users:
https://www.mobileread.com/forums/sho...d.php?t=133197
And this thread was created by the user Adjust to explain his step by step procedure to go from InDesign CS3 to the final ePub:
https://www.mobileread.com/forums/sho...d.php?t=123439
Good luck.