dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Centering Object in Body of HTML

  1. #1
    Junior Member
    Join Date
    Aug 2006
    Posts
    21

    Centering Object in Body of HTML

    I just want to center my flash .swf in the html doc, so it's not pushed up and left in the browser.

    Can someone give or advise CSS or HTML to help me?

    My Publish Setting in Flash isn't doing it, when set to Match Movie, Default and Center/Center.

  2. #2
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    open the HTML in Notepad
    find the open and close Object tags and add center tags around them -
    <center>
    <object classid=.....
    ......</object>
    </center>

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center