Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jul 2013
    Posts
    80
    Thanks
    40
    Thanked 0 Times in 0 Posts

    Why does my content shift when i reload the page?

    So my site is locked at the top of the browser which is correct, however when I hit reload on this gallery page it now vertically centers everything which is not what i want. There is a before and after photo if that helps.

    http://jeffreydowellphotography.com/lifestyle/
    Attached Thumbnails Attached Thumbnails Why does my content shift when i reload the page?-good.jpg   Why does my content shift when i reload the page?-bad.jpg  

  • #2
    Senior Coder Rowsdower!'s Avatar
    Join Date
    Oct 2008
    Location
    Some say it's everything.
    Posts
    2,027
    Thanks
    5
    Thanked 397 Times in 390 Posts
    Quote Originally Posted by jddowell View Post
    So my site is locked at the top of the browser which is correct, however when I hit reload on this gallery page it now vertically centers everything which is not what i want. There is a before and after photo if that helps.

    http://jeffreydowellphotography.com/lifestyle/
    Your page currently shows 19 errors and 4 warnings:

    http://validator.w3.org/check?uri=ht...ss=1&verbose=1

    These may or may not be relevant to this specific issue, but before tackling a CSS issue it's usually best to get a clean HTML validation. For best results (and responses from the forum), you may want to tidy up and see if anything changes.

    Also, what browser(s) are you seeing this in?
    The object of opening the mind, as of opening the mouth, is to shut it again on something solid. G.K. Chesterton
    See Mediocrity in its Infancy
    It's usually a good idea to start out with this at the VERY TOP of your CSS: * {border:0;margin:0;padding:0;}
    Seek and you shall find... basically:
    validate your markup | view your page cross-browser/cross-platform | free web tutorials | free hosting


  •  

    Tags for this Thread

    Posting Permissions

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