Forums

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

Home Forums CSS css-tricks width

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #32615
    rohitmehta
    Member

    hey..just was going through the code of css-tricks. Y is page-wrap having and width of 1200px when its using 100%?

    #46970
    Chris Coyier
    Keymaster

    media queries.

    The default is 1200px, but when the browser window is less wide than that, the media query takes over and makes it 100% (which will be narrower than that). So no horizontal scrollbars are forced and the content inside reflows.

    #76269
    rohitmehta
    Member

    Ok. Thanks Chris That helped. :)

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