Welcome, Guest
  • Author Topic: Centering question  (Read 2740 times)

    LiVe 'O' cLoThInG

    • Seasoned Programmer
    • ***
    • Posts: 102
      • View Profile
      • Email
    Centering question
    « on: 01/26/06, 08:38 »
    This is possibly the most simple question I have asked on here, how do you get your flash movie to appear dead centre of the html page no matter what size the browser is? I have tried putting it into a table using the align and valign commands, however, it always seems to appear near the top.

    Thanks

    bpat1434

    • Moderator
    • Senior Programmer
    • *****
    • Posts: 419
    • Never Miss An Opportunity To Be Great.
      • MSN Messenger - bpat1434@hotmail.com
      • AOL Instant Messenger - bpat1434
      • Yahoo Instant Messenger - bpat1434
      • View Profile
      • bPatterson
    Re: Centering question
    « Reply #1 on: 01/30/06, 10:21 »
    You could always try and use a div and CSS to center it:
    <div style="padding: 0; margin: 30% 40%;">
    <!-- Macromedia Flash Object Tags Here -->
    </div>
    Obviously it will take some tweaking and such, but that gets you close.