Another way to implement margins would be to put a border between the viewport and its enclosing frame. The size of the border would depend on the margin settings (or some other settings). The border would be the same color as the viewport's background color.
Clearly the enter viewer, including the viewport, is resizable, so making the viewport a bit smaller should be easy.
If I understand correctly, the css stylesheets operate within the viewport, so we can't add such a border using a css stylesheet.
|