TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
<< Even less elegant, yet graphical as in your original approach: color the
1-pixel GIF file the identical color of the background of the page so that
it blends in rather than overlying the page. You may also have to futz
around with the properties of the GIF, depending on how your authoring
software imports it.>>
Keep in mind that some users set their browsers to use a specific background
color, overriding the page settings. If your users do this, the GIF may no
longer be transparent.
I've set my browsers' default background colors to something unusual. That
way, when I preview HTML pages I've written, I notice immediately if I've
forgotten to set the page background value. It also reveals HTML pages
written by other folks who don't take the default background into
consideration. <g>