Border around Flash gets a gap - why?

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Border around Flash gets a gap - why?

Post by simonmlewis »

Code: Select all

.flashbox
{
border-bottom: 1px solid #000000;
border-top: 1px solid #ffffff;
}
I have this div class wrapping around a Flash clip. The border will not go tight up against the flash. But instead I get a 3-4 pixel gap between the border and the Flash looks odd.

Anyone know a CSS (or flash) solution?
And no, there isn't a gap in the Flash movie itself. The gap shown is white, yet the background of the movie is black.
Last edited by Benjamin on Fri Jun 04, 2010 4:37 am, edited 1 time in total.
Reason: Added [syntax=css] tags.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
Post Reply