Announcement

Collapse
No announcement yet.

How to focus the center of a page on page load

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to focus the center of a page on page load

    I'm looking to if it is possible to have a certain page on my site load to the center of the page, as opposed to the top and have to scroll to the bottom. I would like it to load so it is at the halfway point of the page.

    The page in question is here.

    #2
    Add an id to the HTML container of the main content you want to scroll to. For example:

    Code:
    id="sponsorships"
    Then when you link to the page,

    Code:
    http://apco-atlantic.org/Conference[COLOR=#FF0000]#sponsorships[/COLOR]
    Helpful? Donate. Thanks!
    Buy me a coffeePayPal QR Code
    Fast VPS Host for vBulletin:
    A2 Hosting & IONOS

    Comment


      #3
      Thank you, I'll play around with it.

      Comment

      Users Viewing This Page

      Collapse

      There is 1 user viewing this forum topic.

      • Guest Guest

      Latest Posts

      Collapse

      Working...
      X
      Searching...Please wait.
      An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

      Please push the back button and reload the previous window.'
      An unexpected error was returned: 'Your submission could not be processed because the token has expired.

      Please push the back button and reload the previous window.'
      An internal error has occurred and the module cannot be displayed.
      There are no results that meet this criteria.
      Search Result for "|||"