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

Thread: The iframe is back

  1. #1
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default The iframe is back

    The iframe is back (HTML5). After all the trouble I had finding a proper replacement for it (HTML4 strict).
    ===
    Arie Molendijk.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Yeah, HTML 5 is pretty cool. I'm doing all my new work in it. A lot of things have been relaxed. If I didn't know better, well I don't know better. I'm not sure why let's say - In any case HTML 5 while preserving a lot of good stuff from HTML 4.01 and XHTML 1.0 has done a number of things to allow stuff browsers allow anyway. It even allows some things some browsers don't, at least not when scripting is combined with what used to be non-standard markup. But there are still some seemingly arbitrary 'no-no's for certain things, I think. But I can't think of anything off hand. Well stuff like width and height for elements that ordinarily can take them. Attributes are fairly limited - use css style instead. Sometimes though there is no workable alternative in style, though it could be argued to be "the browser's fault". I was never really all that happy with that explanation.
    Last edited by jscheuer1; 01-25-2011 at 07:33 PM. Reason: add info
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    Quote Originally Posted by jscheuer1 View Post
    Yeah, HTML 5 is pretty cool. I'm doing all my new work in it.
    No problems with IE7?
    ===
    Arie.

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I've not encountered any problems in HTML 5 as regards outdated IE versions that are not also problems in those browsers for other DOCTYPES that invoke standards.

    Do you have something specific in mind?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. The Following User Says Thank You to jscheuer1 For This Useful Post:

    molendijk (01-26-2011)

  6. #5
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    The only "real" issue I have in IE is the fact that you need to use javascript to trick IE into applying css to your html5 elements.

    I view javascript as something that should have a fallback (or be "okay" without); not something that can be used as a fallback.

  7. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Which HTML 5 elements are you talking about? Something non-standard in other DOCTYPES?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  8. #7
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    Quote Originally Posted by jscheuer1 View Post
    I've not encountered any problems in HTML 5 as regards outdated IE versions that are not also problems in those browsers for other DOCTYPES that invoke standards.
    That's good news.
    Quote Originally Posted by jscheuer1 View Post
    Do you have something specific in mind?
    No, just a general question.

    Thanks,
    Arie.

  9. #8
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    Quote Originally Posted by jscheuer1 View Post
    I've not encountered any problems in HTML 5 as regards outdated IE versions that are not also problems in those browsers for other DOCTYPES that invoke standards.
    As far as I remember, IE7 accepts the frameborder attribute with a standard transitional doctype. It does not accept it with the HTML5 doctype. And there's no way to remove the frameborder. (But I hope I'm wrong).
    ===
    Arie.

  10. #9
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Well, that's one thing (the one thing really, though there could be others) I was thinking about when I said:

    Attributes are fairly limited - use css style instead. Sometimes though there is no workable alternative in style, though it could be argued to be "the browser's fault". I was never really all that happy with that explanation.
    So, if you're saying you must have a valid document in HTML 5 and have it look as desired in outdated browsers, in the case of IE and a look of frameborder other than 1 (1 is the default) that will require clever use of IE conditional comments, yes. I'm not sure if that's even worked out in IE 9, let alone IE 8, which does work out a number of issues from 7, which worked out a number of issues from 6, etc. The versions seem to be coming hot and heavy from MS. Let's hope they soon "get it right" and folks adopt it.

    Interestingly IE 6 support which was recently so important, is no longer considered so, at least not by many. That's because its use is plummeting. The same is beginning to happen with 7. And if 9 comes out, believe me - it's so much better, 8 will probably die a quick death as well.

    The great thing about versions 7, 8, and 9 are that they all can run well on the same computer (not at the same time, but if a computer can run any of them, it can run any one of the others), they are really sub versions (MS gave up issuing sub versions at IE 6), except 9 is a bit more of a radical departure, at least as far as look and feel goes, but I suspect it is otherwise very similar to 7 and 8, just better css support and more features. I think they've sped it up (once it's loaded) a bit too. I'm no expert on 9 or its programmatical differences though yet.

    Getting back to the issue of differences in these outdated browsers. Another area where this (standards compliance in a new DOCTYPE) often throws presentational junkies into a hissy fit is the appearance of form elements.

    Suffice it to say that the precise rendering of your page should not depend upon nor be so important that these slight variations can cause you problems.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  11. #10
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

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
  •