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 2 of 2
  1. #1
    Senior Member Maverick's Avatar
    Join Date
    Sep 2003
    Location
    Hoboken, NJ
    Posts
    351
    Member #
    3253
    Is it possible to center divs that are absolutely postioned within a containing div?

    Right now I have the containing div abs. pos. with a left property of
    Code:
    LEFT: 28%;
    to keep it somewhat centered when the window is maximized. Im sure however this will not work on varying resolutions and window sizes.
    How can I do this?

    heres the link http://www.poker-resource.com/absolutepos/

    P.S. I had to abs. position some elements to get them to work right in a few browsers. (see thread: http://www.webdesignforums.net/thread11482.html )
    Thanks!
    www.stevenspoker.com
    "You can't lose what you don't put in the middle, ... but you can't win much either." -Mike McDermott (Rounders)

  2.  

  3. #2
    Senior Member tekp's Avatar
    Join Date
    Jan 2004
    Location
    A small village near a small city near a small cit
    Posts
    918
    Member #
    4667
    Liked
    1 times
    the link gives a 404 for me

    <div align="center">?

    im not too sure what you mean...

    position:50% 50%; or position:absolu; left:50%;

    ?

    ...
    tekp :cheeky: tekponline.com


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 01:51 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com