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 3 of 3
  1. #1
    Junior Member ifunky2's Avatar
    Join Date
    Aug 2005
    Location
    cyberland
    Posts
    6
    Member #
    11190
    I can't seem to get a simple solution to work, that is both working and w3c valid.
    Problem:
    "to make a 450px tall box center on any page/ monitor size and res."

    If you look at these two examples >
    http://www.sightdeezygn.com/dev3/


    "test-a" does what I need done, but it only works with no document type therefore will not validate.
    "test-b" Validates clean (with doc type Xhtml 1.0 trans)..

    It seems to be one or the other ?
    I really need this to work, If anyone can help I would be indebted. Please "Know" that your (if any) suggested fixes works or test it first. I have allready spent tons of time on this little "buggah"
    so remember the solution needs to work and it needs to validate clean.

  2.  

  3. #2
    Senior Member Fallout's Avatar
    Join Date
    Aug 2003
    Location
    Richmond, Virginia
    Posts
    543
    Member #
    2748
    Try this (you can probably take out the rest of your tags... I don't think they are needed):

    Code:
    #wrapper { position: absolute; left: 50%; top: 50%; margin-top: -224px; margin-left: 224px; width: 448px; height: 448px; }
    As long as your margins are half the height/width respectively, you can scale this to any size.

  4. #3
    Junior Member ifunky2's Avatar
    Join Date
    Aug 2005
    Location
    cyberland
    Posts
    6
    Member #
    11190
    thanks "Fallout";
    That is exactly what I did, if you return to the URL..

    http://www.sightdeezygn.com/dev3/

    you'll see index-c.html

    That did the trick right nice, like
    (and tableless, valid code tah boot0


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