• Posts
  • RSS
  • ◂◂RSS
  • Contact

  • Wrapping and Centering

    May 21st, 2020
    design, meta, tech  [html]
    In the early days of the web screens weren't very large, and people normally wanted text to run from edge to edge. If you code up HTML by hand, with no styling, this is still what you'll get. As screens got larger, though, this could lead to lines that were too wide for easy reading. Sites have typically handled this by adding width or max-width styling to force wrapping, and then usually centering this column as well.

    As an example of this evolution, lets follow example.com with the Wayback Machine. Here's the earliest capture, from January 2002. No max-width, no centering:

    Around March 2002 they simplified the page dramatically (reduce serving costs?) but it's still not centered or limited:

    In January 2011 they made it redirect to an IANA page with wrapped and centered text:

    In July 2013 they stopped redirecting and switched back to a simple page with centered wrapped text:

    Most sites that are still served full-width today are ones that are no longer updated, like the Original HTTP Specification:

    Or Sergey Brin's Academic Page:

    The only major site I can think of that runs completely unwrapped is Wikipedia:

    Mobile Wikipedia, however, is wrapped, even on desktop:

    Once a site is wrapping, they need to decide where their text should fall. The two main options are "left-aligned" and "centered". All the sites above have chosen to center. Search engines are the main type of site I see today that doesn't center:

    I've always been somewhat retrogrouch, but after spending some time with a wide monitor I've now I've come around on centering like I did on wrapping years ago. Yesterday I switched my main pages from left-aligned:

    To centered:

    Pages here that are not part of my sorry excuse for a CMS will still be left-aligned (example), at least for now.

    Comment via: facebook, lesswrong

    Recent posts on blogs I like:

    Fireside Friday, November 27, 2020

    Hey folks! Fireside this week. A bit of a change-up in terms of the coming attractions. I had planned to start “Textiles, How Did They Make It?” next, but I want to do a bit more reading on some of the initial stages of textile production (that is, the pr…

    via A Collection of Unmitigated Pedantry November 27, 2020

    Building Depth and Window Space

    How much window space does an apartment need, relative to its area, and how does this affect building style? A fascinating post from about a year ago on Urban Kchoze makes the argument that modern North American buildings are too deep – Simon calls them o…

    via Pedestrian Observations November 27, 2020

    Thoughts you mightn't have thunk about remote meetings

    Welcome to this week's edition of "building a startup in 2020," in which all your meetings are suddenly remote, and you probably weren't prepared for it. I know I wasn't. We started a "fully remote" company back in 2019, but …

    via apenwarr November 23, 2020

    more     (via openring)


  • Posts
  • RSS
  • ◂◂RSS
  • Contact