vroom,

I've played with this a bit on my local system
(Linux - RedHat5.2 - 2.2.12 kernel - Apache - Netscrape 4.07).

The problem appears intermittently on this setup, but goes away (I haven't seen it go wrong, yet...) if I move the layer toward the bottom of the page and add top="5" left="5" to the tag.

It now looks like:

<layer src="http://adfu.blockstackers.com/servfu.pl?l,perlmonks,4720" + width=470 height=75 top="5" left="5"></layer>
(Feel free to ignore my goofy alignment - I make everything fit in 80 columns)

My theory: Based on observation, Netscrape gets confused at semi-random moments when it has to deal with layers/DHTML issues. Moving the layer tag away from the top of the HTML and defining its position (top="5" left="5") allows Netscrape to deal with the Monk image and the table before it tackles the layer.

That sounds ridiculous, and I cringe to even suggest such a thing, but DHTML in Netscrape is just plain buggy...

My first attempt was to W3C the thing (use <div> tag), but that would require some javascript to load the banner, so this is better if it works.

Good luck!

<Follow-Up>
After some more research, the best answer would be to get blockstackers to just send you an <a> tag with an image inside, rather than insisting on an entire HTML document. Then you (and any other clients) could position the banner ad wherever and however you want...

I poked through their source, and don't see any option you might use to suppress the <html> and <body> tags. I'd be willing to send them a patch if they need the help ;-)
</Follow-Up>

Russ

P.S. You might consider:

They don't really affect anything, but...

In reply to RE: Another Layers Question. by Russ
in thread Another Layers Question. by vroom

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.