Cells with links ignore table width style

Hello Confluence Users,

   I'm having a devil of a time getting Confluence to play nice with a table I have.  I can format the column width successfully for all but two of my columns.  Two of my columns have links in them and they do not want to behave and shrink down to the width specified in the width attribute.  I should note I've tried a few different ways to accomplish this with no luck (colgroup/col style, CSS formatting with max-width, section/column macros (won't work for the type of table), and div tags which are the current method that the table uses).

Here's a copy/paste of the table source, the column in question is the "Links to Release notes"

         ...

      <th>
        <h5>Release Type</h5>
      </th>
      <th>
        <div style="width: 300.0px;">
          <h5>Short Description <em>(One to two </em> <em>sentences)</em>
          </h5>
        </div>
      </th>

             ...

      <th>
        <div style="width: 50.0px;">
          <h5>Link to Release Notes</h5>
        </div>

The "Links to Release Notes" is taking up more space then the Short Description.  I'd like it to take up somewhere between 50px and 100px (not sure since I can't get it to work).  Any ideas on this one?

 

Kevin D Murphy

1 answer

HTML table cells ignore the width setting if the content is wider.  You might be able to use table-layout:fixed in CSS to change this.  See http://stackoverflow.com/questions/11090544/td-widths-not-working for a discussion.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Monday in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

208 views 3 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you