SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Member
    Join Date
    Apr 2006
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Center PHP site?

    Hey everybody,

    I just signed up here, hoping some of you could possibly help me out.
    My friend and I have been working with PHP for a while now.
    We are currently working on a new site and we want to have it centered.
    So, not the text, the actual site.

    I've been trying to find ANYTHING on the net about how to do that, but without success.
    Does anyone here know if that is, at all, possible and if yes, how do we do that?


    Thanks in advance for taking the time to read and reply =)

  2. #2
    SitePoint Wizard silver trophy
    Join Date
    Mar 2006
    Posts
    6,132
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    this is an html question, not php.

    php controls what html is output. the html controlls the display in the browser.

    consider postiing in the html/css forum.
    http://www.sitepoint.com/forums/forumdisplay.php?f=1

  3. #3
    I Own ArcadePunk.com Trigoon's Avatar
    Join Date
    Feb 2006
    Posts
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ya it needs to be moved but I think <center> tags after the <body> tags would work.

  4. #4
    SitePoint Guru
    Join Date
    Jul 2005
    Location
    Orlando
    Posts
    634
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    As mentioned it's not a PHP problem, but here's a website that tells you how to do it anyway:

    http://www.simplebits.com/notebook/2...centering.html

  5. #5
    SitePoint Member
    Join Date
    Apr 2006
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by UFTimmy
    As mentioned it's not a PHP problem, but here's a website that tells you how to do it anyway:

    http://www.simplebits.com/notebook/2...centering.html
    We weren't sure if it was or wasn't a PHP problem.
    But we guessed for a yes.
    Sorry it's in the wrong place, then.

    And UFTimmy, thanks for the link

  6. #6
    SitePoint Wizard bronze trophy Tyssen's Avatar
    Join Date
    Oct 2005
    Location
    Brisbane, QLD
    Posts
    4,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Trigoon
    Ya it needs to be moved but I think <center> tags after the <body> tags would work.
    That's not really a CSS solution though is it?

  7. #7
    SitePoint Member
    Join Date
    Apr 2006
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by UFTimmy
    As mentioned it's not a PHP problem, but here's a website that tells you how to do it anyway:

    http://www.simplebits.com/notebook/2...centering.html
    Thanks for the link. I just had a look at it, and was wondering if that works for ALL screen resolutions? Coz I seen that you have to put a left.

    And, yeah, I'm the friend trying to figure this out too. My friend (who started this thread) couldn't work it out either.


Bookmarks

Posting Permissions

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