Is it possible to make something like this:

When the scroll bar is used, only the content from the div in which the messages are scrolls.
Does somebody know how to do this in css?
Is it possible to make something like this: When the scroll bar is used,
Share
Sure you can do this with pure css; position property, no need jQuery.
Use css
position:fixed;on element’s you don’t want to scroll and use css valuesfloat:left;orposition:relative;on content areas you want to scroll.But if you want to stick some element’s according to
scroll.topvalue, you need to use jQuery. I suggest to inspect these answer for it: How to build simple sticky navigation at the page bottum? and Setting CSS value limits of the window scrolling animation