Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Vertically center an image for pdf export

Josh Dawson
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 12, 2018

I'm using renderModes to create X(HT)ML content to be exported to a pdf. Knowing which css features are supported by Confluence Storage Format is a struggle (especially with the web's infamous vertical centering problem).

It seems `flex` and `inline-block` display formats are unavailable. As is `absolute` and `relative` positioning. I've also tried `translate` and even `ac:vspace`.

 

Perhaps I'm using `ac:vspace` wrong - `<ac:image ac:vspace="100px"><ri:url ri:value="url" /></ac:image>`.

 

If anyone has other ideas or has successfully conquered this particular dilemma, please divulge.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events