Jump to content

Archived

This topic is now archived and is closed to further replies.

jane

Increasing the width of a table column?

Recommended Posts

jane

Hi,

 

In my table here: I have a date column that I'd like to increase (ideally, I'd like for the date fit in one line. The 2 column table I have has a span of 10, I'd like to be able to have the 1st column take up 3 spans and the 2nd column to take up 7).

 

On W3 I read there used to be away to add percentages to tables however that no longer supported with HTML 5. Does anyone have any suggestions as to what I can do?

Share this post


Link to post
Share on other sites
Danny

Hi Jane,

 

You can try the copying the changes I have made to your table, which should give you exactly what you want.

 

<table class="table mid table-bordered table-striped table-condensed">
  <thead>
    <tr>
      <th class="span3">Date</th>
      <th class="span9">Information</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td class="span3">May 14</td>
      <td class="span9">Assignment of booth locations according to Priority Points standing</td>
    </tr>
  </tbody>
</table>
 

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
jane

Thanks Danny, this worked perfectly

Share this post


Link to post
Share on other sites
Danny

No problem.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

×