Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New to the CF scene
    Join Date
    Dec 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Alignment of Web Page

    hi,
    I am a newbie when it comes to HTML. I developed a web page and the contents of the page is aligned to the left. How would I align the page so that it is centered.
    Here is the URL for the web page:
    http://qhcontracting.com/

    Thanks a bunch for any replies!
    GW

  • #2
    Senior Coder jcdevelopment's Avatar
    Join Date
    Oct 2007
    Location
    Cowboy Nation
    Posts
    2,182
    Thanks
    174
    Thanked 257 Times in 257 Posts
    well if you are using css then

    Code:
    body{
    margin:0 auto;
    }
    if its straight html then

    Code:
    <body>
    <center>
    Conetent
    </center
    </body>

  • #3
    Senior Coder coothead's Avatar
    Join Date
    Jan 2004
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,696
    Thanks
    0
    Thanked 232 Times in 227 Posts
    This question has been fully answered here...
    coothead

  • #4
    New to the CF scene
    Join Date
    Dec 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks jcdevelopment!

    Thanks Coothead! You have replied to all the forums that I've posted in.

  • #5
    Senior Coder coothead's Avatar
    Join Date
    Jan 2004
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,696
    Thanks
    0
    Thanked 232 Times in 227 Posts
    Hi there gwong,
    You have replied to all the forums that I've posted in.
    Well, you cannot escape from...

    coothead

  • #6
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    Quote Originally Posted by coothead View Post
    Hi there gwong,

    Well, you cannot escape from...

    coothead


    and who would want to?

    Frank (alias effpeetee) (alias Frank Peter Taylor)
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •