CSS Help! Inserting flash into a div has caused layoutchange

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default CSS Help! Inserting flash into a div has caused layoutchange

    Hi,
    I am trying to insert flash into a div. I'm new to CSS so I think I must be
    doing something wrong. As soon as I insert the flash the layout goes wrong and
    all divs below it are pushed down out of my "main" div. I've now taken the
    flash.swf out and inserted an image again, but it's still wrong. It previews
    fine in the browser though.

    Any ideas!?

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link href="style.css" rel="stylesheet" type="text/css">
    </head>

    <body background="images/newwall.jpg">
    <div id="wrap">
    <div id="main">
    <div id="flash"><img src="images/flash.gif">
    </div>
    <div id="strip"><img src="images/strip.gif">
    </div>
    <div id="middle">
    <div id="news">
    <div class="newstext">NEWS....
    </div>
    </div>
    </div>

    <div id="gap"><img src="images/gap.gif">
    <div id="subnav"><img src="images/wallpaper.gif">
    <div id="bottom"><img src="images/bottom.gif">

    </div>
    </div>

    </div>
    </div>
    </div>



    </body>
    </html>


    Dava Guest

  2. Similar Questions and Discussions

    1. Inserting data with flash forms
      I've been racking my brain for the last 2 days trying to figure out how to do a simple insert into a database with a Flash form. No matter what I do...
    2. Inserting third party Flash
      My client and I are both using Contribute 3. I am administering the site using Dreamweaver and hand coding with BBEdit. My client wants to be able...
    3. Errors inserting flash html
      I have both Dreamweaver MX 2004 and Flash MX 2004. I have also downloaded the extension for inserting Flash HTML, but after I publish my Flash...
    4. inserting flash animations
      My question is sort of related to the previous post. Can I include Flash animations in a publisher 2003 page by inserting the code as an html...
    5. Inserting flash to a website
      How do i insert a flash movie into a website? Please help me!
  3. #2

    Default Re: CSS Help! Inserting flash into a div has caused layout change

    And where is the CSS?

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "Dava" <webforumsuser@macromedia.com> wrote in message
    news:ei2526$mji$1@forums.macromedia.com...
    > Hi,
    > I am trying to insert flash into a div. I'm new to CSS so I think I must
    > be
    > doing something wrong. As soon as I insert the flash the layout goes wrong
    > and
    > all divs below it are pushed down out of my "main" div. I've now taken the
    > flash.swf out and inserted an image again, but it's still wrong. It
    > previews
    > fine in the browser though.
    >
    > Any ideas!?
    >
    > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    > <html>
    > <head>
    > <title>Untitled Document</title>
    > <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    > <link href="style.css" rel="stylesheet" type="text/css">
    > </head>
    >
    > <body background="images/newwall.jpg">
    > <div id="wrap">
    > <div id="main">
    > <div id="flash"><img src="images/flash.gif">
    > </div>
    > <div id="strip"><img src="images/strip.gif">
    > </div>
    > <div id="middle">
    > <div id="news">
    > <div class="newstext">NEWS....
    > </div>
    > </div>
    > </div>
    >
    > <div id="gap"><img src="images/gap.gif">
    > <div id="subnav"><img src="images/wallpaper.gif">
    > <div id="bottom"><img src="images/bottom.gif">
    >
    > </div>
    > </div>
    >
    > </div>
    > </div>
    > </div>
    >
    >
    >
    > </body>
    > </html>
    >
    >

    Murray *ACE* Guest

  4. #3

    Default Re: CSS Help! Inserting flash into a div has causedlayout change

    thanks anyway, but I fixed it - my flash was a couple of px too big and pushed everything out!
    Dava Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139