This question has been addressed many times. You should be able to find multiple responses if you search the MR forum.
In general, use em for fonts/margins/indents so they are resizable by the user and maintain relative size with other items on the page... However, many advocate not specifying any size (in any dimension) for those at rely on the user setting. I think it depends on the device used by your target market, and prefer to set a default size that the user can then override if they desire. I highly advise against using any fixed size units (pt, px, in, etc.) as that looks absolutely horrible on anything except the device you are using when coding the ePub... eg if the user has a different size display or they use a different font size, etc.
I also tend to use % (or vh & vw) when defining image sizes or trying to limit an element based on the screen size or Viewing Height/Width.
Cheers,
Last edited by Turtle91; 03-25-2025 at 08:26 PM.
|