Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Code to make a skinny layout...NOT MYSPACE?

I am working on a basic PHPBB forum...i am trying to make it "thin", IE Yahoo.com main page...it is centered and thin. anyone know the CSS/HTML code to do this? i am at a loss

1 Answer

Relevance
  • Imma M
    Lv 5
    1 decade ago
    Favorite Answer

    make your center div where your content will be to whatever size you want then set the left an right margins to auto.

    something like this

    .maindiv{

    width:800px;

    min-width:800px;

    left-margin:auto;

    right-margin:auto;

    }

    then lay your content out on that.

Still have questions? Get your answers by asking now.