Everybody! This is important. In a few days, these forums will be moving over to using the totally sweet Discourse platform. To ensure this migration happens smoothly with no loss of content, these forums are currently in a read-only mode. I do apologize for the inconvenience.

There is never a good time to turn the forums off for an extended period of time, but I promise the new forums will be a billion times better. I'm pretty sure of it.

See you all on the other side in a few days, and if you have any (non-technical) questions, please e-mail me at kirupa@kirupa.com. For technical questions, try to find a tutorial that corresponds to what you are looking for and post in the comments section of that page.


Results 1 to 6 of 6

Thread: Centering the browser view

  1. #1

    Centering the browser view

    Hello everyone.
    I have a total flash website which is pretty big on resolution (1120*845).

    Although, the main part of the animation is really small and it is centered so when the browser loads, you can only see the half of the animation. You have to scroll down.

    So, is there a code I can put into html so that it will center the flash animation (so that the browser will load the new page as scrolled down and right) to be able to center the animation on the page?

    for more look at

    Dogan Demir | N Dimensions
    Click for my programming blog.

  2. #2
    i would make the flash smaller..then put it in a centered div layer so it does appear center from the left and right..but depending on the users browsers resolutions, it will appear dead center or slightly higher..or slightly lower. i prefer slightly higher on the page. so, make it so it would appear roughly center on what you think some people would use in terms of smaller browsers, as in, dont fill the entire screen.

    does that make any sense?
    'Disk 1 of 1.' That means there's another one around here somewhere.

  3. #3
    Yes.. But the resolution cannot be smaller than that since there will be different parts of the site appearing on top, left, bottom and right.
    Dogan Demir | N Dimensions
    Click for my programming blog.

  4. #4
    i would suggest to work out the rest of the site, and then see how it looks and work around that.

    if you make it center now, and then you make the rest of the site and it changed the positioning, then you have to solve the same problem again.

    thats what i would do anyway.

    maybe someone else can offer a better solution
    'Disk 1 of 1.' That means there's another one around here somewhere.

  5. #5
    Yes you're right.
    Though I thought for the future. I will need it someday...
    Dogan Demir | N Dimensions
    Click for my programming blog.

  6. #6
    simple, reduce the size of ur site. i know that if i came across a site which was so big that i had to scroll to find it, i would just close it. So reducing the dimensions may increase the amount of people willing to view your site

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Home About kirupa.com Meet the Moderators Advertise

 Link to Us


Copyright 1999 - 2012