Skip to content

Is there a way to get the table td's to stretch to fit the content? #12

Description

@jmchauv

I would like my table tds to stretch to fit whatever the length of the content is, instead of clipping the content. I would like my th's to match the td width so that everything is lined up correctly. Is this possible?

In my situation, my table would most likely exceed the width of the parent div I have it within. I would set that parent div to overflow:auto, so that the user would have to scroll right in order to see more of the table.

Thanks guys.

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