#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2004
    Posts
    2
    Rep Power
    0

    Can't get rid of a little gap for flash div


    I've been looking around for hours now, and I can't find a way to get rid of a slight gap to the left of my flash nav bar (which is inserted in a nested div). Everything is centered and verticaly fluid.

    code for flash div=
    #flash {
    vertical-align: top;
    margin: 0;
    padding: 0;
    height: 111px;
    width: 875px;
    }

    code for centercol div= #centerCol {
    margin: 0 auto;
    padding: 0px;
    width: 875px;
    background-color: #ffffff;
    height: 100%;
    background:url(top_04.jpg) repeat;
    }

    html for embeding= <div id="centerCol">
    <div id="flash"><OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
    WIDTH="100%" HEIGHT="100%" id="top_bar" ALIGN="center">
    <PARAM NAME=movie VALUE="top_bar.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=scale VALUE=exactfit> <PARAM NAME=wmode VALUE=opaque> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="top_bar.swf" quality=high scale=exactfit wmode=opaque bgcolor=#FFFFFF WIDTH="100%" HEIGHT="100%" NAME="top_bar" ALIGN="center"
    TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
    </OBJECT></div>
    some content
    </div>

    Thanks.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2004
    Posts
    123
    Rep Power
    15
    Try adding a negative margin for your flash div

    margin-left:-2 or -3 px and see if that makes any difference
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2004
    Posts
    2
    Rep Power
    0

    Negative margins didn't work...


    But moving my the hole content of the flash movie 1 px to the left in flash and republishing woked fine...

    Thanks anyways

IMN logo majestic logo threadwatch logo seochat tools logo