homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

Layer and ilayer Bug in Netscape 4.x ?
Possible layer and ilayer bug in Netscape. Please help.

 3:06 pm on Oct 4, 2001 (gmt 0)

Is there a bug with Netscape 4.x's <layer> or <ilayer> tag??
Please go to the following url using Netscape 4.x and see if the "included text" is repeated twice? The one in the <td> of the <table> is expected, but why there is another one outside of the <table> ?


I use <ilayer> because I would like to include a page from another server. I know IE supports <iframe> but how about Netscape 4.x ?

Any idea? Thanks.



 7:00 pm on Oct 4, 2001 (gmt 0)

Welcome to the forum, kpyew.

ilayer is a Netscape 4.x proprietary thing
iframe is the HTML standard, and is supported in Netscape 6, plus Explorer and Opera.

One idea is to nest the two sets of tags. Putting the iframe tags INSIDE the ilayer tags is reported to be the best way. Any external source file should be a well-formed HTML document (HEAD and BODY tags, and it validates) and not merely an HTML fragment. That's my best guess for why you're getting the duplicated text -- your included file is just a table and not a complete HTML page.


 5:37 am on Oct 6, 2001 (gmt 0)

I have added in the <html>, <head>, ... tags to make layer_inc.htm a complete html page... Still the problem persists....

Please take a look at the link again.



 7:37 am on Oct 6, 2001 (gmt 0)

OK, I think I've got it. In your included file, layer_inc.htm, take the text out of the table. Since you are already writing a table in the main file, you don't need a second one. The included code can be like this:

Included text


 3:18 pm on Oct 7, 2001 (gmt 0)

Yup, that solved the problem. But can't a table be nested inside another table??


 5:39 pm on Oct 7, 2001 (gmt 0)

Yes, I don't really see why this should blow up. So it does look like a bug. And since ilayer is now officially DOA, it's a bug that will never get fixed.

If you discover any more details about this, I'd be very interested.


 4:28 pm on Oct 8, 2001 (gmt 0)

I give up... My pages are now "IE friendly only" :)

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved