Skip to content

Rounding Column Widths #150

@jonathansampson

Description

@jonathansampson

In numerous places, jQuery Columnizer sets widths to Math.floor(100 / numCols) + "%" on generated columns.

Some values don't result in fractions, such as 4 Columns resulting in 25% widths. However, some values do result in fractions, such as three, which results in 33% widths. This does not fully distribute the columns laterally.

Since 33.33333% is a valid value in CSS, why are these values being rounded down?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions