The MU forums have moved to WordPress.org

Remove margin on main body page (9 posts)

  1. TTjip
    Member
    Posted 15 years ago #

    I've looked through styles.css multiple times and have also searched the forum but couldn't find the answer.

    How do you remove the left margin on the main page?
    Here's the current. http://tackletog.com/blog/
    What file and where in the style do I need to change to remove that margin on the left side?

  2. Ovidiu
    Member
    Posted 15 years ago #

    what left margin?
    I just checked, there is no margin !?

  3. andrea_r
    Moderator
    Posted 15 years ago #

    I don't see a left margin, but I do see a HUGE space way on the right. (I have a wide monitor).

    Why not just center it?

  4. TTjip
    Member
    Posted 15 years ago #

    Oh, usually I check multiple browsers, but didn't last night.

    It's centered in IE but not in Firefox. Is this possible to fix in CSS?

    Weird thing is, on a 1024x768 screen resolution, there's the blank space on the left.

  5. andrea_r
    Moderator
    Posted 15 years ago #

    #page {margin:auto;}

  6. TTjip
    Member
    Posted 15 years ago #

    That's what I removed last night trying to align the darn thing. Thanks! =)

    Now it's sorta centered on Firefox. This brings me to the first question, there's more space on the left than right side. Can you confirm this on your wider screen?

  7. niccholaspage
    Member
    Posted 15 years ago #

    Well there is more space on the left then the right.

  8. andrea_r
    Moderator
    Posted 15 years ago #

    Yep, I can.

    This layout needs a lot of work, it's really messed up.

  9. tanvir
    Member
    Posted 15 years ago #

    @ niccholaspage: your layout is really massed up. You use a lot of tables in your theme.

    although In your css you may consider to use a wrapper div like for example

    #wrapper{ width: 80%; margin:0px auto;}

About this Topic