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

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?

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

NAME_OF_THAT_ELEMENT {
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 Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,443 views 111 8
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