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 Coder
    Join Date
    Oct 2009
    Posts
    31
    Thanks
    4
    Thanked 0 Times in 0 Posts

    CSS / z-Index / Dividers

    Hi I've got the following CSS -

    Code:
    	.FlashDiv
    {
    	text-align:center;
    	position:relative;	
    	border-color:Red;
        border-style:solid;
        border-width:1px;
        z-Index:0;
    }
    
    	.footerButtons
    {
    	text-align:center;
    	position:relative;	
    	margin-top: -20px;
    	z-Index:1;
    }
    Then I've got the following HTML -

    Code:
    <div class = "FlashDiv"> 
      
    	Flash Object is here  
    
    	<br />
    </div>
      
    <div class ="footerButtons" >
        <asp:ImageButton ID="imgbtnContact" runat="server" ImageUrl="~/Images/ContactMe.png" />
    </div>
    I want the button in the footerbuttons div to overlap the border of the Flash Div and be on top. It looks ok in my designer, but when run in IE the button is underneath the FlashDiv.

    Any ideas?

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,863
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    You;d need to set the transparency to the flash object via param/embed tag. See http://kb2.adobe.com/cps/142/tn_14201.html
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • Users who have thanked abduraooft for this post:

    jaYKay (10-19-2009)

  • #3
    New Coder
    Join Date
    Oct 2009
    Posts
    31
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by abduraooft View Post
    You;d need to set the transparency to the flash object via param/embed tag. See http://kb2.adobe.com/cps/142/tn_14201.html
    Don't understand why that works, as the flash movie is under the button, but hey.. it does work!! Thanks mate


  •  

    Posting Permissions

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