How can I control the text ("Learn more...") that appears to the right of this image? I'd like it to be vertically centred on the image so it's aligned to the middle of the image:
In Word, I'd use a table with the image in one cell and vertically centred text in another (and no borders on the table) to accomplish this.
However, although I can add a table and whitespace to cells, I can't remove table borders.
Does anyone know how best to accomplish this in Confluence? Is the HTML Table macro the way to go?
This is a classic HTML layout issue, that requires setting the row height. But, in this case, where the image is taller than the text you are in luck.
By HTML table macro, I assume you mean a formatted table pasted into the HTML macro? Yes you could create a custom table, formatted using inline CSS, that would allow you to align both the image and the text to the middle of a one row table. You can also set the table borders to zero so they don't appear. This is probably the quickest and easiest way to go.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could also use the HTML macro to insert customized CSS and keep the actual content in the WYSIWYG editor. Personally, I find it more comfortable to work on the content as I see it.
I used to require this "feature" on a couple of pages a while back so I wrote a little user macro:
## Macro title: Hide Table Border
## This macro hides the grey borders of tables.
## @noparams
<p>
<style type="text/css">
<!--
.confluenceTd {border: 0;}
-->
</style>
</p>
This specific macro only hides borders of standard cells, not table headers. For a layout table that is not a problem, though. If you don't need it extensively, you can just paste the style part in your HTML macro and it does the trick.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It would be even better to see a solution that does not require someone within an enterprise organization to be the confluence administrator.
Being the admin of the space is not a problem, but so many require the confluence admins to allow custom user macros to be enabled or other things that most of us just do not have access to.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want to change the behavior of Confluence, you have to have admin privileges. This is by design to ensure that someone with good working knowledge is making these changes as they could impact an entire Confluence instance.
There are also corporate reasons for this level of control. For example, if you need to insure that a Confluence site adheres to some corporate style, having 100 authors each deciding to create a different look and feel makes that hard.
You can help the process along by creating your own personal instance of Confluence, coming up with a working solution that you can then relay to a Confluence admin, being able to say you have done initial testing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It would be nice to have the option directly in confluence editor - the same as we have buttons for horizontal alignments - to have the same for vertical alignments.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Spot on Ales_Dvorak. Even I am struggling to vertically align the text within a cell in a Table. Wish Confluence gets that feature soon. Make life so much easy...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Agreed. The option to vertically align text within a table cell would be very helpful!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
here is a free plugin for table vertical align ,works on confluecne server 7.0-7.15
https://marketplace.atlassian.com/apps/1222494/vertical-align-for-confluence/version-history
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.