Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Oct 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    space under embedded flash file

    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.



    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?

  • #2
    met
    met is offline
    Regular Coder
    Join Date
    Oct 2009
    Location
    United Kingdom
    Posts
    728
    Thanks
    4
    Thanked 119 Times in 119 Posts
    can you clarify or post a link?

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

  • #3
    New to the CF scene
    Join Date
    Oct 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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:


    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

    Code:
    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.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •