Can I make a section "non-scrolling"?

I have some long documents with tables of contents. I created a two-section layout with a narrow left section for the table of contents and a wider main section for the content. I would like the left-section to be non-scrolling so it doesn't move when the reader moves down the main section.

2 answers

This widget could not be displayed.

That sounds possible using CSS. Can you post the source code you have so far so that we can tell you how to fix it?

This widget could not be displayed.

You can make an element fixed and non-scrolling with this CSS:

position: fixed;
top: 0px;
left: 0px;

But you will have to rework your whole layout and use something else where left and right are separate elements and can be addressed individually (instead of the section macro where left and right columns are probably just different <td> within a <table>).



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

462 views 6 6
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