Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Jun 2012
    Posts
    2
    Member #
    32015
    hi to all

    i face a problem in designing my website

    and the problem is
    my website is centered at natural view
    when i zoom out my website go to left

    this is a pic of my website when i zoom out till 10%

    the web site be @ this position

    web1.png
    and when i do that for cnn website and zoom out to 10% it still at center

    like in this pic

    web2.png
    and i try
    text-align at body tag and it didn't do any thing

    need ur help

  2.  

  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,485
    Member #
    425
    Liked
    2783 times
    Code:
    div#page-container {margin:  0px auto;  width:  (your width);}
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  4. #3
    Junior Member
    Join Date
    Jun 2012
    Posts
    2
    Member #
    32015
    @ TheGAME1264 thank u for ur help


    and i have another problem

    how to make background didn't scroll with page

    i try background-attachment:fixed;

    but when zoom

    background still at center(V AND H) while page container go to center top(H only) at zoom out 10%

  5. #4
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,485
    Member #
    425
    Liked
    2783 times
    Code:
    body {
       background:  (your background) fixed top center no-repeat;
    }
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  6. #5
    WDF Staff m3n0tu18's Avatar
    Join Date
    Jul 2011
    Location
    Devon, UK
    Posts
    1,473
    Member #
    28473
    Liked
    265 times
    Quote Originally Posted by TheGAME1264, post: 237686
    Code:
    body {
      background:  (your background) fixed top center no-repeat;
    }
    OOOO Simple code answers. Pure genius! love it ...Thinking about it.. That's not like you game lol!
    If you like my comments to your thread please click the LIKE button

    Check out my portfolio: Here!
    View my company Facebook Page
    View my company Website

    <<Plrease ignoer my typo's I have isdexlyia>>

  7. #6
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,485
    Member #
    425
    Liked
    2783 times
    It was a simple fix. Why make it complicated? It's like that Tupac guy in the Everest commercials...it's EASY!
    m3n0tu18 likes this.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)


Remove Ads

Posting Permissions

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

Search tags for this page

center html body on zoom

,

center page while zoom

,

center web page on zoom

,

goto page 1 zoomout celebrity

,

how to centered a website while zooming in aur out

,

how to make center website when zoom in or zoom out

,

site going left zoom in zoom out

,

web page center in zoom

Click on a term to search for related topics.
All times are GMT -6. The time now is 12:24 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com