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
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.