Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorcubedpearce
    • CommentTimeJul 31st 2006 edited
     permalink
    I have a question:

    I am using the javascript approach to embedd flash into a web page, but I am unable to successfully float the flash object to the left with sufficient text wrap from the other paragraphs in the containing div.

    Could someone help?

    <div id="container">
    <div id="flashcontent" class="left">

    <p>
    This should be a flash movie.
    Flash player 6 or above should installed.
    </p>
    </div>

    <script type="text/javascript">
    var so = new SWFObject("/flash/shell_scheme_colours.swf", "orgshellMovie", "300", "200", "6", "#fff");
    so.write("flashcontent");
    </script>


    <p>
    blah blah blah
    </p>

    <p>
    More blah blah blah
    </p>
    </div>

    Styles are:

    .left {
    float: left;
    line-height: 0;
    height: 0;
    }

    Ta very much!
    •  
      CommentAuthorJohnRiv
    • CommentTimeJul 31st 2006
     permalink
    set the width of the .left div to at least 300px (the width of your Flash movie)
  1.  permalink
    Ah hah, cheers!
Add your comments
    Username Password
  • Format comments as (Help)