Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

CSS Problem, take two

  • 06-04-2007 10:13PM
    #1
    Registered Users, Registered Users 2 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