1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 for fixed design?

Discussion in 'XenForo Questions and Support' started by tayfun, May 25, 2014.

  1. tayfun

    tayfun Member

    for i get fixed style i added some codes in my design. is it true?

    Screen shot 2014-05-25 at 7.29.03 PM.png

    or only contains?

    width: 992px;
    margin: 0 auto;
  2. Brogan

    Brogan XenForo Moderator Staff Member

    For a fixed width, the code is correct.
    You may want to consider using max-width though, or have a child style with a max-width, to enable the site to work on narrow screens.
    max-width: 992px;
    margin: 0 auto;
    box-sizing: border-box;
  3. tayfun

    tayfun Member

    oh, perfect yes correct code is max-width, thanks.

Share This Page