Quote:
Originally Posted by dgatwood
A UA stylesheet is provided by each book reading platform, and provides its default styles. You can't prevent them from being there; they just are. All you can do is override anything that you consider to be important.
A word of caution, though.... Some readers misbehave badly when you try to set the page or body padding/margins to non-default values. So when you zero the margin, do so on the img tag, not the body tag. 
|
Thanks for the warning. The problem is that these kinds of stylesheet are not everywhere. If they cannot be discarded, at least is there a way to detect them automatically (other than using a heavy-handed Inspector) and warn the user?
Taking into account your advice not to set the body margin to zero to avoid some readers misbehaviour, I thought I could be possible to use a
negative margin in the img tag so as to counter the unwanted body margin. Using frame styles, it can be a quick process. It could work only on the margin-top and margin-left values though but it's valid CSS.