adamwulf / Columnizer-jQuery-Plugin

The Columnizer jQuery Plugin will automatically layout your content in newspaper column format. You can specify either column width or a static number of columns. And, of course, it’s easy to use!
http://welcome.totheinter.net/columnizer-jquery-plugin/
Other
758 stars 147 forks source link

Align column tops #172

Closed devildog67 closed 10 years ago

devildog67 commented 10 years ago

I'm columnizing a long list of checkboxes that are grouped into different categories. The groups have an H3 heading which has a built in -webkit-margin-before: 1em;

The lists looks great unless the heading is at the top of a column in which case because of the margin on the H3 the columns look like they're not top aligned.

Any suggestions?

capture

adamwulf commented 10 years ago

I think you should be able to target this with a specific css rule. i think something like this will work:

.column h3:first-child{ -webkit-margin-before: 0 }
devildog67 commented 10 years ago

Awesome Adam that worked great!

adamwulf commented 10 years ago

glad to hear it!