Is there a way to synchronize scrolling between two divs? I have a situation where one div is larger than the other, and I want them both to scroll together.
Any suggestions?
.content {
width: 100%;
}
.left {
background-color: yellow;
width: 50%;
float: left;
max-height: 200px;
}
.right {
background-color: green;
width: 50%;
float: left;
max-height: 200px;
overflow: hidden;
overflow-y: scroll;
}