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
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,208 views 2 13
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