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
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 ...

899 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