Margins used to be removed from pages by using Netscapes and Internet Explorers proprietary attributes to the body tag; marginwidth, leftmargin, marginheight and topmargin. I think I've seen this set of attributes called the 4 Knights of Browser incompatability.
Nowadays, browser support for CSS is improved, so we can let CSS handle this the web standards way.
Works in most standard compliant browsers.