Minimum and maximum width in pixels for a confluence page

With the column macro, I can set the width in pixels for my confluence page. This limits its width and makes the content easier to read on high resolution wide screens.

But if the browser window is resized and made smaller, I want the width of my page to become smaller until a certain limit.

For example, I can set the column macro width to "1024px". But I want the width to reduce upto about 700px if the browser window is resized.

1 answer

Abhir,

It looks like you are looking for a min-width style on your colum.

http://www.w3schools.com/cssref/pr_dim_min-width.asp

You could try injecting your own custom css into the page.

https://confluence.atlassian.com/display/DOC/Styling+Confluence+with+CSS

Unfortunately, there is no way that one can reliably attach a class or id to an element in the WYSISYG editor. So all of your coumns may inherit this style.

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
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

800 views 23 12
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