Selasa, 26 Mei 2009

Membuat Kolom : CSS dan jQuery

Membuat Kolom : CSS dan jQuery


Anda ingin membuat kolom dengan mudah dengan menggunakan jQuery dan CSS, seperti halnya pada gambar diatas, anda dapat pelajari pada:

Smart Columns with CSS & jQuery

One solution that would be able to benefit the situations is to take the good of both scenarios and mash it into one.

  1. Allow as many fixed columns to line up across the viewport (as many as it will fit based on the base column size)
  2. Take excess white space and evenly distribute them to each of the columns to complete the full row. This way the columns will always fit perfectly.
  3. Keep a default fixed width as the base, so that the columns are reasonably within the intended columns sizes while maintaining enough flexibility to accommodate for the expandable viewport.

0 comments:

Posting Komentar

Twitter Delicious Facebook Digg Stumbleupon Favorites More