View Single Post
Old 03-25-2025, 08:24 PM   #2
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,361
Karma: 20212223
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
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.
Turtle91 is offline   Reply With Quote