klaas123
klaas123

Reputation: 147

bootstrap 3 widen table

I currently have this table: enter image description here

as you can see in the action one is below the other. That sould be all 4 next to eachother. when I increase the width of that action the other become smaller but I dont want that.

I want at least that the action show next to eachother and the model is on one line so Bluetooth station 9300 serie is now on 2 lines I want that preferably on one line.

For some reason I cant widen the whole table and it stays fixed in this width.

I am using bootstrap 3

This is my code for the table headers:

echo "<tr>";
             echo "<th>Merk</th>";
             echo "<th>Model</th>";
             echo "<th>voorraad</th>";
             echo "<th>threshold</th>";
             echo "<th>Action</th>";
echo "</tr>";

Upvotes: 1

Views: 32

Answers (1)

KIKO Software
KIKO Software

Reputation: 16688

Have you tried the white-space CSS property? Use:

 <td style="white-space: nowrap;"> .... icons .... </td>

Upvotes: 0

Related Questions