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.

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 23
  1. #1
    Member TheZealot's Avatar
    Join Date
    Dec 2003
    Location
    South Carolina
    Posts
    84
    Member #
    4201
    Hi, this is my site I'm working on - www.brockglaze.com/mikeyt/. My trouble is this - My site has multiple <divs> to position the images and everything else. How would I put all of these <divs> into a table so that they remain centered in the web browser?? I am having great trouble with this any help would be wonderful!

    Thanks
    Brock Glaze
    Few ever changed his course by counsil, none by force...
    http://www.brockglaze.net/sigimage.jpg
    |Services|Web Design|Contact Me|

  2.  

  3. #2
    Senior Member DanielOliver's Avatar
    Join Date
    Jun 2003
    Location
    Cornwall, England.
    Posts
    1,202
    Member #
    1879
    try just putting <center> in above all the content, but dont close it untill the end, that works for me more of the time, give that a go.

    Daniel.

  4. #3
    Member TheZealot's Avatar
    Join Date
    Dec 2003
    Location
    South Carolina
    Posts
    84
    Member #
    4201
    that lets you center layers?? images etc...?
    Few ever changed his course by counsil, none by force...
    http://www.brockglaze.net/sigimage.jpg
    |Services|Web Design|Contact Me|

  5. #4
    Senior Member DanielOliver's Avatar
    Join Date
    Jun 2003
    Location
    Cornwall, England.
    Posts
    1,202
    Member #
    1879
    I imagine so. Has worked for me in the past.

  6. #5
    Senior Member Riat_Sila's Avatar
    Join Date
    Oct 2003
    Location
    Berkshire, UK
    Posts
    417
    Member #
    3485
    In your CSS file stick this in:

    Code:
    body{
    text-align:center;
    }
    This will center EVERYTHING inside the body tag, so you'll need to add a div below your container with text-align:left; inside.

  7. #6
    Member TheZealot's Avatar
    Join Date
    Dec 2003
    Location
    South Carolina
    Posts
    84
    Member #
    4201
    I did that, and all my text is centered etc... but - i dont know if you guys are understanding what I mean... if you go to www.brockglaze.com/mikeyt/ I want it so that when you resize the window the entire site is constantly centered. that way no matter what resolution it is being viewed in, it is centered... Actually, this forum does exactl what I am wanting my site to so... when you resize the brower the whole web sight adjusts to always be in the center of the browser (left/right)

    If I am just not understanding you, then let me know =)

    Brock
    Few ever changed his course by counsil, none by force...
    http://www.brockglaze.net/sigimage.jpg
    |Services|Web Design|Contact Me|

  8. #7
    Senior Member ericbusch's Avatar
    Join Date
    Aug 2003
    Location
    Daejeon, South Korea
    Posts
    241
    Member #
    2779
    I looked at your code and I think the problem is that you have everything positioned with:
    "style="position:absolute;" and this, as far as i know, locks everything into that place. get rid of that and you will be able to center the page.

    eric
    Blogs For Sale - Each blog is packed with 1000s of signatures and ads are highly integrated into the site. Great CTR! Completely customizable from Admin CP. On Sale!
    Complete Websites For Sale - Fantastic looking sites rich with content. Come complete with domain names. I only have a couple of these.

  9. #8
    Member TheZealot's Avatar
    Join Date
    Dec 2003
    Location
    South Carolina
    Posts
    84
    Member #
    4201
    okay, lemme try it
    Few ever changed his course by counsil, none by force...
    http://www.brockglaze.net/sigimage.jpg
    |Services|Web Design|Contact Me|

  10. #9
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    Originally posted by DanielOliver
    try just putting <center> in above all the content, but dont close it untill the end, that works for me more of the time, give that a go.

    Daniel.
    The <center> tag is deprecated. The preferred way is either:
    Code:
    <p align="center">
    or
    Code:
    <div style="text-align:center">
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  11. #10
    Member TheZealot's Avatar
    Join Date
    Dec 2003
    Location
    South Carolina
    Posts
    84
    Member #
    4201
    none of these things are working. I am not wanting to ONLY center my text, I am wanting to keep everything centered, all my images, all my <divs>, everything on the whole site I want to re-center when I resize the browser... I was under the impressive I must use tables to do this somehow, but I am not getting anywhere at all... You guys are probably telling me all the right stuff, but I may not be understanding it... lol, im confused =)

    Thanks,
    Brock
    Few ever changed his course by counsil, none by force...
    http://www.brockglaze.net/sigimage.jpg
    |Services|Web Design|Contact Me|


Page 1 of 3 1 2 3 LastLast

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