Iframe Support On the Mac Os?


Please help! I'm developing a site utilizing IFRAMES to display the content, and I've seen lots of posts where people are using IFRAMES with mac's, but for some reason it's not working on my site.

I'm using BrowserCam.com to test out how my site would look in a mac browser, and both the Explorer 5.2 and Safari 1.2 and 1.3 browsers will not display the content. Every other current browser is fine.

The IFRAME script is essentially taken from this site: http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm

Not sure if I need to modify this script or what to do, Any help is greatly appreciated, thanks!
Hmm... I'm not an EXPERT at this, but I have to say... this is some of the FUNKIEST code I've seen for an iFrame. It's got a bunch of javascript.... what's up with that? iFrames don't need java. I tried it out, and... YEAH. It DOES NOT work in Safari.

However, I've used iFrames before just fine. Here's an example from a site I made, and it works just fine, and you don't have to put anything fancy in the "<head>" part, either...

<body bgcolor="#333333" text="#FFFFFF" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div align="center">
  <table width="800" height="100%" border="0" cellpadding="1" cellspacing="0" background="images/lights2.jpg">
    <td width="35" height="300" valign="top"> </td>
      <td width="555" height="300" valign="top"> 
        <div align="center"> 
          <p><img src="images/spacer.gif" height="15" width="16"><br>
            <iframe src="news.html" name="iframe" width=560 height=245 scrolling=auto frameborder=0><span class="copy">Your 
        browser does not support IFRAMES. Get the latest version of <a href="http://www.netscape.com" target="_blank"> Netscape</a>, <a href="http://www.mozilla.org" target="_blank">Mozilla</a>, or Internet Explorer.</span></iframe></p>
      <td width="204" height="300" valign="top"> 
        <div align="center">
Thanks for the replies! However, the javascript (of which I'm no expert) seemed to resize the contents of the IFRAME into the window for which it was intended

I tried using a regular IFRAME, which works ok, but it doesn't resize the contents, so I'm left to guess how big and wide to make it. I couldn't get the width or height set to "100%" to work at all, so there's either big gaps or scrollbars to deal with. I have to imagine there's a way to get the contents of the IFRAME to resize itself properly to the parent window.

Any other suggestions? Thanks again for the help and for testing it in your browser.

Why do you use an iFrame when you use div...? You can put all the stuff from the iFrame directly into the div.

(Funny as I we had that discussion last night with a bunch of friends)

Anyways, iFrames are HTML4+ if I remember correctly. I'd go with the div. Works basically in every browser
Thanks so much for the reply. Any samples or sites where I can see how to put this <DIV> together?

Thanks again!