My basic layout is a couple of divs within a div – http://jsfiddle.net/nxPhy/ – I’m looking for a css way to have the const div always visible regardless of any horizontal scrolling of the parent div (so only the content div is actually scrolled).
Share
Add
position: relative;to container, and remove floats and addposition: fixed;to the block you want to fixate.Result: