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
    Hoboken, NJ
    Member #
    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
    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

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


  3. #2
    Senior Member tekp's Avatar
    Join Date
    Jan 2004
    A small village near a small city near a small cit
    Member #
    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:

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 11:32 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: