Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS minimized layout – how to keep it all together?

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23402
    lollielala
    Member

    I’ve notices when minimizing pages using firefox3 or
    opera 9 on pages like http://www.mozilla.com/en-US/firefox/ or
    http://www.microsoft.com/en/us/default.aspx
    and of course http://css-tricks.com/

    the complete page gets smaller in ratio to it’ full size.
    what styles are needed to get this appearance/function?

    #50558
    Spunkmeyer
    Member

    I assume you’re referring to what’s called a fluid layout, where the site grows/shrinks to fill the user’s screen? This is done by using relative widths (specifically percentages). If you assign percentages to any element, the browser can scale it accordingly.

    #50576
    Cotton
    Member

    They utilize a fixed width content wrapper centered on the page. Check out the link for an explanation.

    http://www.how-to-css.com/css/how-to-center-your-page-with-css/

    #50577
    lollielala
    Member

    Thanks for the swift response’s,
    I don’t know if it is a
    CSS rule but what worked for me was
    after I turned
    off a stray 2nd instance of
    {margin: 0 auto;}
    it fixed it’s self up.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.