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 Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

979 views 51 8
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