devxlogo

Using IFRAME Across Browsers

Using IFRAME Across Browsers

Question:
I want to make my site cross-browser compatible, but I rely on a lot of iframes in the IE version. According to the original HTML 4 specification, it should be possible to use the object tag instead. Can you tell me how to do this, as the way specified by W3C doesn’t seem to be the way implemented in IE5?

Answer:
As you’ve noted, IE5 doesn’t always follow the W3C standards. In your case, I’d check to see if the browser supports IFRAME, and if it does, then use what you’ve got now (IE 4+, Netscape 5+). If it doesn’t, use LAYER (Netscape 4).

See also  How to Avoid Money Transfer Scams  
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist