Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Centering Logo

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #27761
    Rosey
    Member

    Okay. For some reason I can’t seem to get this logo to be centered in the top of site. I have a small logo that I want to center in the top of the site, and to be centered at all time, even if someone were to re size their browser.

    Related HTML Code:

    Code:

    Related CSS Code:

    Code:
    #logo { position: absolute }
    #70110
    sheepysheep60
    Participant
    Code:
    #logo
    {
    margin: 0 auto;
    text-align: center;
    }

    That should do Explorer (text align center) as well as the standard firefox, chrome etc etc

    Hope that helps! dave

    #70113
    Rosey
    Member

    Thanks Dave. However, that puts the logo directly on top of the content box, and to the left of the page-wrap as well. Plus I still need to insert the nav bar under it if that changes anything…

    #70115
    Rosey
    Member

    Nevermind, once again I feel like a loser. :lol:
    Fixed it. Thanks Dave.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.