Click here to Skip to main content
16,018,114 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello , I am not an expert about html and I am using BootStrap on my page. I am forced to used bootstrap (cannot avoid it due to company directives), and I noticed the following problem :

I am creating a table with the usual 12-column setting : I assign to the various fields of the table a varying span in column : f.i. the first field is just one (I tried both class="span1" and colspan="1"), the second 2 columns and so on (i have to adjust some fields because of the presence / absence of some other fields).
I noticed that no matter what the colspan of the field is, all of the fields have the same size , causing some of them , when containing long text, to wrap words in a very awkward way , while other fields, which maybe contain just on character, take a huge and unnecessary amount of space.

What should I do to tell Bootstrap to resize the fields proportionally to the colspan I have assigned them ?
Thank you

What I have tried:

colspan="x"
class ="spanx"
width = ccpx (%)
Posted
Comments

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900