...

View Full Version : space under embedded flash file



Mysqisch
10-25-2009, 09:13 PM
Hello,

I've got a flash application, and under the application there's a menu. I don't want there's some whitespace under the application which is right now.

http://i36.tinypic.com/28rjdi8.jpg

When I add a div, where the app is located, it fits good (no whitespace between green & red, but yellow).
Is there a solution I can remove the whitespace under the embedded flash file?

met
10-25-2009, 09:16 PM
can you clarify or post a link?

you say when you add a DIV it fits "good" - this implies you fixed your problem?

Mysqisch
10-25-2009, 09:35 PM
Sorry, can't post a link. It isn't fixed yet, what I ment with 'it fits "good"', is that I can change the background color of the whitespace. What I want is that is just disappears.

Here's my code:




<embed
width="151"
height="151"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash"
src="klok.swf?{$time}"
wmode="transparant"
Allowscriptaccess="sameDomain"
cale="scale"
>

<div class='menu_side2'>
<div class='menu_submenu'>
<div class='menu_text'>
<span style='font-weight: bold;'>Menu header</span>
<br />
Menu item
<br />
Menu item
<br />
Menu item
</div>
</div>
<!-- and more.. -->

Css



div.menu_side2
{
width: 130px;
border-left: 1px solid #000000;
border-right: 1px solid #000000;
border-bottom: 1px solid #000000;
background-color: #B7C7D6;
margin-left: 9px;
}
div.menu_submenu
{

margin-left: 15px;
margin-right: 20px;
padding-bottom: 8px;
padding-top: 14px;
border-bottom: 3px solid grey;
}
div.menu_text
{
padding-left: 10px;
padding-right: 5px;
}


Whitespace is very small (1-2px), but I want it to disapear.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum