The debate over whether to use liquid or fixed layouts on the web is one of those perennial and not-very-interesting debates like Mac vs Windows or Emacs vs Vim. What if, however, there were a simple way to offer up both a fixed width and liquid layout on the same page? Peace on the web? Well, not exactly, but it’s a pretty clever trick nonetheless.
CSS guru Daniel Glazman (co-chairman of the CSS Working Group) shows you how to use just one pseudo class on a single HTML document and still create two different layouts, one liquid, one fixed — via Webmonkey
Share this Story