css - What Are Other Ways to Do 2-Column Layouts? -


i've been stuck approach 2-column site quite while now

  1. wrap elements in "wrapper" div
  2. float main div left
  3. float sidebar left
  4. apply clearfix on wrapper div

the problem having whenever non-floated element in main div alongside floated one, have clears or clearfixes.

do have other approaches 2-column layouts. way, use said approach in my blog:

i use grid: http://www.1kbgrid.com/

it's more 2-column layout, idea of being flexible. instance, it's handy when have fancy layouts on front page , fall default 2-column on subpages. saves lot of time.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -