Printing stylesheet and image scaling

I have a table with one row and two columns. In the first cell there is a small image (icon-size). In the other cell there is an explanation text.

It looks fine on the web. The first cell is small (same size as the small image), and the second cell is much longer because of the text.

But when I export to PDF the little image scales up and the first cell expands at the same time. Both columns now have the same width (50% each).

How can I (with css stylesheet) prevent the images inside a cell from scaling up like this? I like the images to have their original size in the PDF export.

This figure shows my problem. Upper image: this is how it looks on the web. Lower image: this is how it looks when I export to PDF.

cell_image.png

 

2 answers

0 vote
Steven Behnke Community Champion Mar 18, 2016

Can I ask, what happens when you set a specific size on the image via the Confluence Editor?

You're right. When I set the size in the Editor the PDF looks fine. Simple as that... thank you smile

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

65 views 0 11
Read article

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