Flash Inline with Image in CSS

Discussion in 'CSS' started by jehzlau, Mar 20, 2007.

  1. #1
    How can I put my embedded flash inline with the Image in CSS:

    This is my code in two DIV tags:

      <div class="flash">
          <object
            classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
            codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0"
            id="adecemp"
            width="115" height="112"
          >
            <param name="movie" value="flash/logo.swf">
            <param name="bgcolor" value="#FFFFFF">
            <param name="quality" value="high">
            <param name="allowscriptaccess" value="samedomain">
            <embed
              type="application/x-shockwave-flash"
              pluginspage="http://www.macromedia.com/go/getflashplayer"
              name="logo"
              width="115" height="112"
              src="flash/logo.swf"
              bgcolor="#FFFFFF"
              quality="high"
              swliveconnect="true"
              allowscriptaccess="samedomain"
            >
              <noembed>
              </noembed>
            </embed>
          </object>
        </div>
          <div class="topheader"></div>
    Code (markup):
    and this is my CSS:

    .topheader {
    text-align: left;
    clear: both;
    background: url(images/header.jpg) no-repeat;
    height: 75px;
    width: 100%;
    }
    
    .flash
    {
    clear: both;
    }
    
    Code (markup):
    And this is the result:
    [​IMG]

    I want it to be inline with the flash logo, but I can't.. I think something is wrong with my CSS, but I can't figure it out. Any help with be much appreciated :(
     
    jehzlau, Mar 20, 2007 IP
  2. jehzlau

    jehzlau Active Member

    Messages:
    301
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    73
    #2
    i think i got it. what I did, is i turned my topheader class to the background of the flash class.. and i got it ^____^ weee!! or are there any suggestions? :)
     
    jehzlau, Mar 20, 2007 IP