<style type="text/css"}
#image
{
position: absolute;
top: 0;
left: 0;
width: 8.5in;
height: 11in;
margin: 0;
border: 0;
padding: 0;
</style>
<body>
<img id="image" src="image.jpg"/>
</body>
*image.jpg is 8.5x11 inches itself
Went to the registry in HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\PageSetup
and set these values to zero (0):
margin_bottom
margin_left
margin_right
margin_top
(This last step in the registry is because I cannot put those values to 0 in the Page Setup dialog, no matter what I put I always get something greater that 0, hence a forced margin value I don't want.)
The Problem: As you see, I intent to print a full 8.5x11 inches image. In the print preview it appears fine, but when I print it, I always get white margins in the 4 borders!!!
I tried many, many different printers, even a pdf printer, always the same result.
Where do those margins come from My CSS is pretty clear stating that the image selector is 8.5x11 inches, starting at top 0,0. I can even preview it correctly!!
And by the way, why can't I set IE margins to 0 without going to the registry
Any ideas.
Thanks.