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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,164 views 20 14
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