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
  1. #1
    Junior Member
    Join Date
    Mar 2005
    Posts
    27
    Member #
    9400
    I would like the site i'm building to open with a homepage that is 740x480 pixels and centered on the screen. Should I use a Java script?

    Thanks webdudes.

  2.  

  3. #2
    Senior Member Fallout's Avatar
    Join Date
    Aug 2003
    Location
    Richmond, Virginia
    Posts
    543
    Member #
    2748
    No, try CSS:

    Code:
    body { width: 740px; height: 480; margin: auto auto; }

  4. #3
    Junior Member
    Join Date
    Mar 2005
    Posts
    27
    Member #
    9400
    I can't see the code dude. can you post it again? thanks.

  5. #4
    Senior Member Fallout's Avatar
    Join Date
    Aug 2003
    Location
    Richmond, Virginia
    Posts
    543
    Member #
    2748
    Code:
    body { width: 740px; height: 480; margin: auto auto; }
    body { width: 740px; height: 480; margin: auto auto; }

    How can you not see it?

  6. #5
    Junior Member
    Join Date
    Mar 2005
    Posts
    27
    Member #
    9400
    Now I can see it. Thanks I'll try it! before it said "code" and there was a black frame with nothing in it. Is there somthing i need to do to see it?


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