开发者

Flash movie not respecting negative margin in container HTML

I have to place a flash movie into an existing layout. It is replacing placeholder image of the same size. The DIV holding the image has a negative top margin. When the flash movie is placed in the same spot there is a gap at the top of the DIV equal to the amount of negative 开发者_C百科margin. I cannot seem to get the movie to move to the top of the DIV (FF3).

Is there an issue with Flash and negative margins?


It may depend on the method you're using to embed the flash.

Have you tried the following on your DIV instead of the negative margin?

DIV {
   position: relative;
   top: -10px;
   width: (same as flash);
   height: (same as flash);
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜