Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

URL value for content property in margin boxes is not working

Michael Gebhardt November 14, 2017

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
TAGS
AUG Leaders

Atlassian Community Events