URL value for content property in margin boxes is not working

For our official document we need a Copyright annotation at the left margin of each side.
The PDF Exporter (Flying Saucer) supports the margin boxes you can activate in the CSS file for the PDF export.

The following entry with a string value for the content property is working well:

 @left-middle {
  content: "© Copyright reserved.";
  font-family: Arial, sans-serif; font-size: 6pt; text-align: left;

However we need the text rotated to the left (counterclockwise, -90.0 degree).
Because the PDF Exporter (Flying Saucer) supports no CSS 3.0 a workaround is to create an image with the rotated text.
This image shall be inserted into the left margin middle box via the content property with an url value:

 @left-middle {
  content: url(http://<confluence-server>/download/attachments/9171717/Copyright.png);

Why is this not working?

I tried as url value the abbreviated confluence address and the IP address of the server, too:

  content: url(/download/attachments/9171717/Copyright.png);
  content: url(http://<xxx.xxx.xxx.xxx>/download/attachments/9171717/Copyright.png);

What I am doing wrong?

0 answers

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,798 views 26 10
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