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 Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

347 views 2 5
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