WordPress.org

Ready to get started?Download WordPress

Forums

center blog on page (9 posts)

  1. chan
    Member
    Posted 9 years ago #

    I used this tutorial http://www.tamba2.org.uk/wordpress/graphicalcss/rap/index.html to center my blog on the page. http://www.chanistheman.com/blog
    It looks good on my large screen with a bigger setting but on 800 by 600 setting it looks bad. Any suggestions on centering blog ?

  2. Mobius
    Member
    Posted 9 years ago #

    In order to center a template, add this to the div you want to center:

    margin-left:auto;
    margin-right:auto;

    If you want to add some space on either side of the blog, then you should add padding to the body element. Good luck working it out!

  3. Kafkaesqui

    Posted 9 years ago #

    A little scrunched, but it's centered; though you might try setting a left: property for your content, so it's not laid behind the menu.

    What are you hoping for it to look like at 800x600?

  4. chan
    Member
    Posted 9 years ago #

    I tried that margin auto but it didn't work. Just put everything to the left. Even when setting the width of content and rap to same.

  5. Mobius
    Member
    Posted 9 years ago #

    Did you set the width of the divs in CSS? Take a look here for a template I dont use anymore that is centered : http://www.oolio.com/

  6. chan
    Member
    Posted 9 years ago #

    I don't have any divs listed in the css. I just used the default temp and changed it and added a rap in the css to center it. I am complete lost with centering it to be honest. I have tried everything. The best I can get is what you see on the site.

  7. NuclearMoose
    Member
    Posted 9 years ago #

    Looks centered to me on Firefox 1.0.

  8. In your css file, try adding this:

    '
    body {
    text-align:center;
    }

    #rap {
    margin:0px auto;
    text-align:left;
    background: white;
    } '

  9. chan
    Member
    Posted 9 years ago #

    Not Still looks crappy

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.