Click to See Complete Forum and Search --> : flash stretching div in IE


haynbrian
09-23-2003, 01:44 PM
Hey all.

I have this site that i'm building with CSS. I have a div that is set to a width of 700. Now, when I put a flash file in the div, in IE it stretches the div and creates a gap. In netscape it works fine. Any ideas?


Thanks

Brian

DaveSW
09-23-2003, 02:07 PM
Have you tried setting margins and padding to 0px on the div and the object?

haynbrian
09-23-2003, 02:17 PM
I have done the margins and padding in the div, but not on the object. Not sure how to set the margins just for an object.

DaveSW
09-23-2003, 02:19 PM
Me either: try

object {
margin: 0px;
padding: 0px;
}

haynbrian
09-23-2003, 02:20 PM
okay, i'll give it a try, thanks

haynbrian
09-23-2003, 02:22 PM
nope, still stretching it. maybe i'll have to try a different design or something.

DaveSW
09-23-2003, 02:33 PM
or widen the div a fraction.