Update: Link to site
What I'm asking is what would be a css positioning solution to allow an element to stay fixed horizontally but scroll up and down, because if you set the map and right hand side ordered list to fixed it doesn't allow you scroll down
Here is a pic of the page
What I want is for the three column grid to be fixed horizontally, but for them to scroll vertically. This is because the line of red circles goes beyond the right side. Here is the HTML structure:
<h3 class="yo">Crimes per ward</h3>
<h1 class="click-to-see"><a class="link-ward see-by-ward"href="/cases/wards">Click To See By Ward</a> </h1>
<h1 class="click-to-see"><a class="link-ward see-by-crime-count"href="/cases/wards">Click To See By Crime Count</a> </h1>
<div class="d3-wrapper">
<span class="load-animation" style="background:url(../img/dashinfinity.gif) no-repeat center center;width:150px;height:150px;"></span>
</div>
<div class="ward-wrapper">
<article class="map-wrapper"></article>
<article class="ward-info"></article>
<article class="specific-data"></article>
</div>
css
.map-wrapper {
margin-left: 10%;
float: left;
width: 30%;
}
.ward-info {
padding-left: 8%;
display: inline-block;
width: 30%;
position: fixed;
}
.specific-data {
margin-left: 10%;
float: right;
width: 30%;
}
Everything but the three column grid elements have position: static, so they scroll vert and horiz.