View Single Post
Old 10-29-2011, 04:24 PM   #102
foosion
Connoisseur
foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.
 
Posts: 59
Karma: 4562
Join Date: Sep 2011
Device: Pixel 4a
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.
foosion is offline   Reply With Quote