Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

CSS Problem, take two

Options
  • 06-04-2007 11:13pm
    #1
    Registered Users Posts: 7,041 ✭✭✭


    I'm trying to reposition a flash box via CSS but the box remains center of the page. I can move it and down from center but not to the bottom or top. I want it at the bottom. Heres my code.
    //////////CSS//////////
    
    .gsar{
    	position:absolute;
    	top: 0px;
    	left: 0px;
    }
    
    //////////HTML//////////
    
    <div class="gsar">
    <embed src="GSAR.swf" width="820" height="350"
    type="application/x-shockwave-flash"
    pluginspage="http://www.macromedia.com/shockwave/download/index.cgi
    ?P1_Prod_Version=ShockwaveFlash">
    </embed>
    </div>
    

    I've tried placing .gsar in the embed tags but that doesn't do much good.

    Problem 2.

    Can you place a flash piece under an image? My flash won't go under the image. Heres the code.
    ////////Flash////////
    
    .adline{
    	position: absolute;
    	top: 0px;
    	left: 0px;
    	z-index: 2;
    }	
    
    ///////Image////////
    .arch{
    	position: absolute;
    	top: -1px;
    	left: -1px;
    	margin-bottom: 0px;
    	z-index: 1;
    }
    

    I've tried switching the z-index around but it doesn't make a difference. Also that .adline won't go to the coordinates specified (0,0).


Advertisement