Support » How-To and Troubleshooting » Center something

Center something

  • Hello

    I’m trying to center the top banner on my site.

    But I’m unable to do so.

    Here’s the code I’m using now:

    #Topad {
        position: absolute;
        top: 7em;

    I’ve tried all these lines:

    #Topad {margin-left: auto;
    margin-right: auto;}

    In the HTML too:

    <div align=”center”>…</div>


    My site: http://geimaku.com

    Nothing seems to work. Help, please.


Viewing 1 replies (of 1 total)
  • Moderator Andrew Nevins


    Forum moderator

    You cannot centre while positioned absolute (unless you manually do it for a certain window width)

Viewing 1 replies (of 1 total)
  • The topic ‘Center something’ is closed to new replies.