content exceed its column when scroll enabled

content exceed its column when scroll enabled

bobobobobobo Posts: 24Questions: 9Answers: 1

Hi

Below is my table config:

<

table id="xxxx" class="table striped table-bordered hover table-checkable order-column nowrap" cellspacing="0" style="width:100%;table-layout:fixed;">

I added "table-layout:fixed;" to fix alignment issue between table header and body, but I met an issue indicated in attachment, content exceed its column. If there are many columns, as a result, scroll appear, things works well!

Thank in advance!

BR
Gavin

Answers

  • allanallan Posts: 61,716Questions: 1Answers: 10,108 Site admin

    Sounds like you've set a width for the column which is too small to show the content in. You could use overflow: hidden in your CSS to stop it overflowing.

    Allan

This discussion has been closed.