Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: iframes in mac browsers...

  1. #1
    Join Date
    Oct 2006
    Posts
    41
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default iframes in mac browsers...

    Hi there...I created a website using iframes and people I know with Macs are saying that they're not showing up properly (one says his one computer with opera can kind of see the whole page, but his other computer with safari doesn't work on it at all..apparently).

    Is there an easy way to fix this, I'm not willing to redo the webpage and I'd rather not tell people they need to update their browsers or just not use macs to view the website...


    Thanks in advance

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    I'm not sure. Iframes work great on my mac. No problems.
    We'd need a link (or to see the source code) to understand.
    I use a mac, and I'd be happy to test for you.
    The "mac" browsers... there are 4, that I can think off offhand:
    >>>Safari IS the "mac" browser... comes with the computer, an apple product. It does have varying ways of seeing html from other browsers, but i've usually just had problems with javascript and a few formatting things, like tables looking slightly different, for example, not iframes.

    >>>IE 5.0 (5.5? maybe?) is the latest version of Internet Explorer for the mac. I wouldn't be surprised if this has issues. It usually does. But, again, it's more related to javascript than iframes. If it works in IE 5 for mac, I generally assume the page is coded great, because the browser is so old and bad that it rarely does
    >>>Mozilla... but this is basically identical to the PC version, from what I can tell. I'd assume linux is the same. Mozilla usually works great. Wouldn't expect problems on here.
    >>>Mozilla's company/organization also has another browser available for only macs, I believe. Haven't had the need to try it myself, and don't really understand since they offer mozilla for macs anyway. Can't comment here.

    As for Opera, haven't used it, so wouldn't know.

    So... has everyone on a PC had no problems? I'd assume it's just something wrong with the code that might happen to display well in new versions of internet explorer. Does mozilla work for it?


    Note that this also assumes Mac OSX, not OX9 or below. Old macs used to use IE 5, I believe, and not sure if there was another browser that came with it... Safari is new. I wouldn't be surprised at all if OS9/below users were to have problems.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Oct 2006
    Posts
    41
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Hey thanks for responding....
    It seems to work fine on PCs...all the frames are loading and the content and everything.

    On (newer?) versions of safari it seems ok...but not on firefox...and someone else using safari said they couldn't see the content...

    Here's a link to the site:

    www.thesketchersons.com

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Hmm..... interesting.
    I don't have access to my mac tonight, just this (PC) laptop.
    I'll check when I get a chance.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  5. #5
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Tested. Mozilla on my mac is fine.
    Safari came up with a white blank area.
    this doesn't mean it doesn't support iframes, or the warning of "your browser doesn't support iframes", between the <iframe></iframe> tags would have been displayed.
    After more testing, I found that the problem has nothing to do with the iframe itself, but with the pages you're including.
    They just don't load on a mac.
    I believe it is due to the frameset. That probably just screws things up. Framesets are a page, then they call pages... you just have done a frameset ON the page, and specified no frames... just content.
    Safari appears, in this case, to be following what makes sense... don't display the improperly coded page, while the other browsers are being nice and ignoring it.


    w3school's web validator shows this (and a couple other things).... http://validator.w3.org/check?uri=ht...2Fmedianew.htm


    Also, in Mozilla (didn't notice it in safari) the CAST menu button/image is offset vertically by a pixel or two. The rest seem ok.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  6. #6
    Join Date
    Oct 2006
    Posts
    41
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by djr33
    Tested. Mozilla on my mac is fine.
    Safari came up with a white blank area.
    this doesn't mean it doesn't support iframes, or the warning of "your browser doesn't support iframes", between the <iframe></iframe> tags would have been displayed.
    After more testing, I found that the problem has nothing to do with the iframe itself, but with the pages you're including.
    They just don't load on a mac.
    I believe it is due to the frameset. That probably just screws things up. Framesets are a page, then they call pages... you just have done a frameset ON the page, and specified no frames... just content.
    Safari appears, in this case, to be following what makes sense... don't display the improperly coded page, while the other browsers are being nice and ignoring it.


    w3school's web validator shows this (and a couple other things).... http://validator.w3.org/check?uri=ht...2Fmedianew.htm


    Also, in Mozilla (didn't notice it in safari) the CAST menu button/image is offset vertically by a pixel or two. The rest seem ok.
    Yeah I noticed at work (although on a PC) that the cast button was up a pixel...I have no idea why that's happening.

    I'm a little confused of the above, I'm just not sure what I should do to make it work?

  7. #7
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by djr33
    w3school's web validator shows this (and a couple other things).... http://validator.w3.org/check?uri=ht...2Fmedianew.htm
    Arrgh! What?!

    The World Wide Web Consortium (W3C) and W3Schools are in no way related, and the latter do not offer a validation service. Inferring anything else lends credibility to that latter that is definitely not deserved.

    Mike


    I can't comment on the thread, by the way, as I don't have a Mac.

  8. #8
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Oh? sorry... I thought that "w3" and "w3" were related
    My bad

    As for fixing it.... you have something wrong with the page that is being included in the iframe.
    the iframe itself is fine.
    the page IN the iframe is wrong.
    They just don't load on a mac.
    I believe it is due to the frameset. That probably just screws things up. Framesets are a page, then they call pages... you just have done a frameset ON the page, and specified no frames... just content.
    I mean the frameset on the included page. you don't need a frameset there. remove that.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  9. #9
    Join Date
    Oct 2006
    Location
    Rochester, NY
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    ok, im on a mac and i am having problems with iframes too. The place where my iframe is suppose to be i only see the background image of the page im on and not the external page it is suppose to load. When I tested it in dreamweaver and previewed it in firefox it worked fine, but when i uploaded it to teh server it looked completely different online.

    http://www.rit.edu/~kjb3311/imm/v2/test2.html

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <title>Kyle Beikirch - Project 2</title>
    </head>
    
    <style type="text/css">
    <!--
    body {
    	background-image: url(images/bg.jpg);
    }
    .style1 {
    	font-family: Arial, Helvetica, sans-serif;
    	color: #EBEBCC;
    	font-size: 36px;
    }
    -->
    </style>
    <body>
    <div align="center">
    <table width="70%" border="0" cellspacing="0">
      <tr>
        <td height="130" valign="top"><div align="center" class="style1">Kyle Beikirch</div></td>
      </tr>
    </table>
    <iframe src="test.html" width="600" height="390" frameborder="0" id="body" name="body" scrolling="yes"> If you can see this, your browser doesn't 
    understand IFRAME.  However, we'll still <a href="test.html">link</a> you to the file.</iframe>
    </div>
    </body>
    </html>

  10. #10
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    i've explained the problem.

    The INCLUDED PAGES... the SRC's of the iframes, NOT the iframes themselves, are the problems.
    They don't load by themselves.

    This is due, I believe, to an extra frameset in the code. ***IN THE INCLUDED PAGE, NOT! THE MAIN PAGE***

    Remove that.

    Fixed.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •