dcsimg
A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Centering A Website Within the Browser

  1. #1
    Junior Member
    Join Date
    Sep 2001
    Posts
    21

    Smile

    I'm sure there's a simple solution to this, but when you publish a website in Flash how in the hell do get it not to appear in the upper left hand portion of the browser.

    Thanks in advance. I know it's probably a stupid question.

  2. #2
    Junior Member
    Join Date
    Apr 2002
    Posts
    5

    centering

    You can do this manually with html!

    Just view the source of your code, and after the body tag,
    which looks like this "<body (it may have other stuff in here)>", just type: "<center>"

    if you want it centered vertically, a bad but easy way to do this is do a few page breaks (after center type:"<br>" as many times as necessary). A more detailed way is to use tables, which I can quicky explain if you reply.

    Perhaps you know this already, and are wanting Flash to do it itself for some reason? If not, this will work Champ.

  3. #3
    Junior Member
    Join Date
    Sep 2001
    Posts
    21

    Thanks

    Thanks for the reply. I'll set it up in HTML. Yes, I thought perhaps there was a way to do it within Flash but HTML will work. I know what you mean about vertical placement.

  4. #4
    Member
    Join Date
    Apr 2002
    Posts
    45
    Hi. I would like to add a little question to this. It's probably stupid to ask this but how can I see "source of code"?? Do I have to have some kind of program to see the code? Or There is a way to see it in the actual Flash?? It would be great if you can teach me how.

  5. #5
    Junior Member
    Join Date
    Apr 2002
    Posts
    5

    flash code

    are you talking about viewing the source code of the Flash file? Well if so, that's not really possible.

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