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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,691 views 25 10
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