Why is my transparent spacer image getting printed?

J

John Sutter

I use a 1x1 transparent gif image for spacing things around using height=0
width=x
However when I print the webpage, these spacer images are getting printed
as lines. When I tested with Opera and Mozilla they do not get printed.

Is there a way to hide these lines during printing that same way they do on
the screen?

John
 
D

Don Varnau

John,
Here's a post I saved a few months ago. I don't have this problem and can't
vouch for this fix. Backup the registry and try it. ;-)

[from Morbius]
For months now, I (along with apparently TONS of other IE users!) have
been complaining about IE not loading up all images on a page at times.
In my case, it's always the same sites, and always small 1-pixel GIF
images, usually used to space out table cells correctly.

[snip]
I know that in my case, the problem showed up on 2 home systems and 3
work systems, all running different versions of Windows, and all showed
the problem about the same time. I've always been convinced it was
something caused by an MS patch/update, and nothing that I did or could
control. And now, thanks to a post by genkiboy, I finally fixed
it...and as suspected, it was OBVIOUSLY MS-caused! So here's the
solution, if you haven't already seen it...

Note first that my problem was ALWAYS small GIF images not showing up,
nothing else. So if that's not your problem, I don't know if this is
the fix for you or not. But as it has had no adverse effects I can see,
it might still be worth trying.

It involves deleting a couple of Registry keys.

- Start REGEDIT

- browse to: \HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PROTOCOLS\Name-Space
Handler\

- See if you have 'http', 'https' and 'ftp' subkeys listed under there

- If so, export each of those keys, so you can import them again later
if this causes you any problems

- Then delete the 'http', 'https' and 'ftp' subkeys if they exist
(leave the 'mk' key)

(* i had an 'http' and 'ftp' key and removed both--definitely leave the
'mk' key *)

On the XP systems, this seemed to immediately fix the problem...browsing
sites that had previously suffered this failure worked 100% of the time.
On other versions of Windows, I had to reboot the machine before this
corrected the missing images, but on those, it also fixed it 100% of the
time after a reboot!

So at least in my case, this missing images problem is OBVIOUSLY the
result of some MS error, not anything I did or didn't do! Those keys
are clearly something placed in the Registry by MS, and whatever
function they serve, appear to be the source, and the fix, for this
problem.

Hope this helps,
Don
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top