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 5 of 5
Like Tree1Likes
  • 1 Post By TheGAME1264

Thread: positioning

  1. #1
    Senior Member
    Join Date
    Jan 2014
    Posts
    392
    Member #
    38172
    Liked
    4 times

    positioning

    hi, im moving round a navbar and two buttons on a test page and im just wondering whats the best way to position it all. right now i have it set to position: relative; and moving with + and - px.

    am i right in saying that if i was positioning from the left, in a bigger screen there would be a bigger space to the right?

    whats the best way to position it all?

  2.  

  3. #2
    Junior Member
    Join Date
    Aug 2012
    Posts
    1
    Member #
    32601
    thank you
    [Edit: link removed as per forum rules. AlphaMare.]
    Last edited by AlphaMare; Feb 01st, 2014 at 02:19 AM.

  4. #3
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,482
    Member #
    425
    Liked
    2783 times
    The best way to position it depends on exactly what you're trying to accomplish and on what screen. There really isn't a one-size-fits-all answer here.
    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)

  5. #4
    Senior Member
    Join Date
    Jan 2014
    Posts
    392
    Member #
    38172
    Liked
    4 times
    what im trying to accomplish is positioning from the center of the screen basically. best way to describe it. if you position from the center you can set it to be even amount of emptyness at either side. the way i have it now its positioning from top and left so i can only presume that in a bigger screen there will be a bigger empty space on the right than on the left, right?

  6. #5
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,482
    Member #
    425
    Liked
    2783 times
    Code:
    margin:  0px auto; /* auto defines the left and right margins automatically and evenly, based on your width.  In other words, it centers the thing. */
    width:  800px;  /* or whatever you like for your width here. */
    coleio 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
  •  
All times are GMT -6. The time now is 09:44 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com