3 Replies Latest reply on Nov 22, 2009 1:56 PM by Ned Murphy

    Aligning Flash movie in center of browser and flush to top

    R. Sinclair Level 1

      I'm having trouble positioning my Flash movie where I want it in the browser window. I want it:


      * To be centered horizontally (easy enough), but also:

      * Flush to the top of the browser window, with 0 px between the movie and the top of the browser window


      I've been trying various combinations of single-cell tables, divs and CSS absolute & relative positioning, and can't find the right combination to achieve this positioning. The closest I can get is centered horizontally, and about a 5 px gap between the top of the browser window and the top of the movie -- it needs to be flush.


      My movie is 1000 px wide and 680 high. This is a simple diagram of what I'm trying to achieve:




      I'm not a coder by any means, so specific code examples would be helpful!