Forums

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

Home Forums CSS How can I put in the middle of the menus?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #146317
    post98
    Participant

    I want to display menus in the middle of the header and resize the browser’s menus are also in the middle Of course, I margin: auto, but I also do not work

    http://jsfiddle.net/psot98/czqKV/4/embedded/result/

     header .center {
    background: url(../images/header-center.png) no-repeat;
    width: 510px;
    height: 100%;
    /*margin: auto;*/
    

    }

    #146326
    Paulie_D
    Member

    No reason why that shouldn’t center the .center div if it a width and margin: auto.

    Height 100% probably won’t work though. Try adding a defined value.

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