• I’d like to center my entire blog, but I don’t know how. I’ve attempted to fiddle with margins, but of course I don’t know what I’m doing. Any suggestions would be appreciated. Thanks!

Viewing 15 replies - 1 through 15 (of 25 total)
  • One way is to use this:
    #rap {
    margin: 0px 100px 0px 100px;
    border: solid #000 1px;
    background: white;
    }
    BUT…
    you have other elements which seem to be taking their positioning from somewhere else, so if you insert that (just put if after the #rap you already have to see) the display breaks.
    You could insert that and then go through correcting the positioning, but I can’t see a very easy fix right now.

    In your wp-layout.css find:
    body {
    and add to this division (within the curly brackets):
    margin-left:auto;
    margin-right:auto;
    text-align:center;
    That should do it.

    I’ll try that. Thank you both. 😉

    I tried this:
    margin-left:auto;
    margin-right:auto;
    text-align:center;
    But that just center the blog text. I’d like to move the whole thing over so that there is less space on the right.

    The rap div encloses everything, so that is the place to start.
    As I said though, some elements may behave oddly and need sorting – but that’s why we are here 🙂

    Thank you Podz!

    It centered quite nicely now. 🙂 But now the background image isn’t visible and the footer is wider.

    Footer:
    In index.php, put it above the /div that it is currently below.
    Image in a mo …

    background: url(wp-images/body.gif) repeat-y;
    Where did this go exactly ?
    It was in ‘body’, but it now needs to be somewhere else..

    Hmmmmmm.

    @root .. I wondered where you were 🙂

    Well a guy has to eat podz but y’all doin fine.

    @ adb have you considered a eeerr fresh approach to your CSS positioning needs?

    Well if you get fed up with you layout looking a bit haphazard you could try the Gemini Template. A lot of folks find it easy to implement. Good luck.

    Root,
    I did check out your Gemini Template. And I will consider it.

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘CSS help’ is closed to new replies.