Forums

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

Home Forums CSS Centering main-column

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #42480
    mintertweed
    Participant

    I am starting to see why @TheDoc said I was getting ahead of myself. I want to center main-column, here. One would assume that you would simply do this:

    #main-column {
    margin-left: auto ;
    margin-right: auto ;
    }

    But no, that is apparently not going to work in this situation. There is a parent div called page-wrap and it is centering everything in the header just nicely. I have page-wrap closing after the closing body tag. Does this have anything to do with it? Thank you in advance. I need to get the front page looking like it did, but this time I must use the new Starkers v4.0 nude theme. So, a quick fix is in need. Any help will be greatly appreciated.

    Sidenote: Also, why are my styles for my footer not working?

    #123365

    Its not a div with an id of footer though. Removing the # might help, as minter is using an HTML5 footer tag, yeah?

    #123367

    footer {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    }

    should do the trick.

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