5

I am trying to get the same width to all columns, Is there a proper way for Bootstrap?

                <a href="produkte.html">
                    <div class="panel-body">
                        <table class="table">
                            <tbody>
                            <tr>
                                <th></th>
                                <th>#</th>
                                <th> # analog Eingänge</th>
                                <th> # I/Os</th>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </a>

enter image description here

1
  • It seems that it is much better to use Bootstrap's rows and cells in your case. Commented Aug 3, 2017 at 8:44

2 Answers 2

13

you have to set this style to your table

table {
    table-layout: fixed;
}
Sign up to request clarification or add additional context in comments.

Comments

4

Why not use cells and/or rows? If you don't know then add this code(also learn it, it can be useful)

table {
    table-layout: fixed;
}

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.