Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Google Chrome

  • This topic is empty.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #27691
    kloy
    Member

    Any one know why the .swf file is not showing up in Google Chrome?
    I also included an alt image, but that’s not showing up either.

    http://www.abebuzz.com/
    Here’s the code…





    height="256">



    #76998
    Chris Coyier
    Keymaster

    Try this


    #76919
    Rob MacKay
    Participant

    Please don’t ever use an iframe lol

    Seems to work for me – did you get it fixed?

    #76921
    Chris Coyier
    Keymaster

    Whats wrong with iframe?

    #76922
    noahgelman
    Participant

    Never use an iframe, especially if all your doing is displaying an image or flash video. Unless you’re embedding something into the page, like a youtube video and you want to use html5 and not flash, or something of the like, there’s not much other reason to use an iframe.

    #76888
    Rob MacKay
    Participant

    iframes are terrible and 99% of the time are not required. If you have a tag for a purpose – for example embed – you should always go with that, it will work because it’s standard stuff and probably a path issue. There are many reasons why iframes are bad, from SEO to navigation, bookmarking and beyond… but that’s something google can help people who want to find out more with :D

    Just know that iframes are not a thing of beauty or a joy forever – avoid at all costs.

    #76891
    Chris Coyier
    Keymaster

    I used an iframe when my HTML wouldn’t validate with embedding it. An iframe was the only success I had.

    #76902
    jamygolden
    Member

    I’m pretty sure there is a way to validate it without an iframe.

    If it worked on all browsers, why use an iframe specifically for validation? Validation is important, but you were just ‘tricking’ the validation system since that html still won’t validate.

    My advice would be:
    A: Find a proper way of validating that HTML or link us to an example where it doesn’t validate.
    B: Let the validation fail, it’s not important in this case.

    #76754
    Rob MacKay
    Participant

    wow you should not be using iframe to make something validate, you should focus on getting the HTML right :)

    #76772
    Chris Coyier
    Keymaster

    It was actually the wufoo form. I changed code options from iframe to javascript. It passed. However, I have an “under construction” swf that I’m displaying that I put into an iframe because it wouldn’t validate with embedding it. I’ll post back when I recode it to the way it was for help.

    #76773
    Chris Coyier
    Keymaster

    Here is the link with the embed code that won’t validate.

    LINK

    #76780
    heysep
    Member


    Should work and validate

    #76787
    Chris Coyier
    Keymaster

    It worked and validated. Thanks a lot @heysep.

Viewing 13 posts - 1 through 13 (of 13 total)
  • The forum ‘CSS’ is closed to new topics and replies.